Skip to content

Commit

Permalink
Generated from ed827993ea1edc547aedd043097957e038ae7c90
Browse files Browse the repository at this point in the history
Add basicpublishingcredentialspolicies to Microsoft.Web stable 2019-08-01
  • Loading branch information
SDK Automation committed Apr 28, 2020
1 parent 5c24da3 commit 2bd3ae0
Show file tree
Hide file tree
Showing 4 changed files with 492 additions and 0 deletions.
124 changes: 124 additions & 0 deletions sdk/appservice/arm-appservice/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4758,6 +4758,30 @@ export interface CsmCopySlotEntity {
siteConfig: SiteConfig;
}

/**
* Publishing Credentials Policies parameters.
*/
export interface CsmPublishingCredentialsPoliciesEntity {
/**
* <code>true</code> to allow access to a publishing method; otherwise, <code>false</code>.
*/
allow: boolean;
}

/**
* Publishing Credentials Policies collection.
*/
export interface CsmPublishingCredentialsPoliciesCollection {
/**
* Whether FTP is allowed.
*/
ftp: CsmPublishingCredentialsPoliciesEntity;
/**
* Whether Scm Basic Auth is allowed.
*/
scm: CsmPublishingCredentialsPoliciesEntity;
}

/**
* Publishing options for requested profile.
*/
Expand Down Expand Up @@ -12857,6 +12881,106 @@ export type WebAppsListBackupStatusSecretsResponse = BackupItem & {
};
};

/**
* Contains response data for the getBasicPublishingCredentialsPolicies operation.
*/
export type WebAppsGetBasicPublishingCredentialsPoliciesResponse = CsmPublishingCredentialsPoliciesCollection & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: CsmPublishingCredentialsPoliciesCollection;
};
};

/**
* Contains response data for the getFtpAllowed operation.
*/
export type WebAppsGetFtpAllowedResponse = CsmPublishingCredentialsPoliciesEntity & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: CsmPublishingCredentialsPoliciesEntity;
};
};

/**
* Contains response data for the updateFtpAllowed operation.
*/
export type WebAppsUpdateFtpAllowedResponse = CsmPublishingCredentialsPoliciesEntity & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: CsmPublishingCredentialsPoliciesEntity;
};
};

/**
* Contains response data for the getScmAllowed operation.
*/
export type WebAppsGetScmAllowedResponse = CsmPublishingCredentialsPoliciesEntity & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: CsmPublishingCredentialsPoliciesEntity;
};
};

/**
* Contains response data for the updateUserCredsAllowed operation.
*/
export type WebAppsUpdateUserCredsAllowedResponse = CsmPublishingCredentialsPoliciesEntity & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: CsmPublishingCredentialsPoliciesEntity;
};
};

/**
* Contains response data for the listConfigurations operation.
*/
Expand Down
43 changes: 43 additions & 0 deletions sdk/appservice/arm-appservice/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8476,6 +8476,49 @@ export const CsmCopySlotEntity: msRest.CompositeMapper = {
}
};

export const CsmPublishingCredentialsPoliciesEntity: msRest.CompositeMapper = {
serializedName: "CsmPublishingCredentialsPoliciesEntity",
type: {
name: "Composite",
className: "CsmPublishingCredentialsPoliciesEntity",
modelProperties: {
allow: {
required: true,
serializedName: "allow",
type: {
name: "Boolean"
}
}
}
}
};

export const CsmPublishingCredentialsPoliciesCollection: msRest.CompositeMapper = {
serializedName: "CsmPublishingCredentialsPoliciesCollection",
type: {
name: "Composite",
className: "CsmPublishingCredentialsPoliciesCollection",
modelProperties: {
ftp: {
required: true,
serializedName: "ftp",
type: {
name: "Composite",
className: "CsmPublishingCredentialsPoliciesEntity"
}
},
scm: {
required: true,
serializedName: "scm",
type: {
name: "Composite",
className: "CsmPublishingCredentialsPoliciesEntity"
}
}
}
}
};

export const CsmPublishingProfileOptions: msRest.CompositeMapper = {
serializedName: "CsmPublishingProfileOptions",
type: {
Expand Down
2 changes: 2 additions & 0 deletions sdk/appservice/arm-appservice/src/models/webAppsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ export {
ContinuousWebJobCollection,
CorsSettings,
CsmCopySlotEntity,
CsmPublishingCredentialsPoliciesCollection,
CsmPublishingCredentialsPoliciesEntity,
CsmPublishingProfileOptions,
CsmSlotEntity,
CsmUsageQuota,
Expand Down
Loading

0 comments on commit 2bd3ae0

Please sign in to comment.