Skip to content

Commit

Permalink
Generated from 4d6a77f72b17c10ae6476cf1acd47fe444ec7c9e
Browse files Browse the repository at this point in the history
Added examples
  • Loading branch information
SDK Automation committed May 19, 2020
1 parent b2de322 commit 012780c
Show file tree
Hide file tree
Showing 16 changed files with 526 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ export {
ContainerThrottlingData,
ContinuousWebJob,
CorsSettings,
CsmPublishingCredentialsPoliciesCollection,
CsmPublishingCredentialsPoliciesEntity,
CustomHostnameAnalysisResult,
DatabaseBackupSetting,
DataSource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ export {
ContainerThrottlingData,
ContinuousWebJob,
CorsSettings,
CsmPublishingCredentialsPoliciesCollection,
CsmPublishingCredentialsPoliciesEntity,
CsmUsageQuota,
CsmUsageQuotaCollection,
CustomHostnameAnalysisResult,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ export {
ContainerThrottlingData,
ContinuousWebJob,
CorsSettings,
CsmPublishingCredentialsPoliciesCollection,
CsmPublishingCredentialsPoliciesEntity,
CsmUsageQuota,
CsmUsageQuotaCollection,
CustomHostnameAnalysisResult,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ export {
ContainerThrottlingData,
ContinuousWebJob,
CorsSettings,
CsmPublishingCredentialsPoliciesCollection,
CsmPublishingCredentialsPoliciesEntity,
CustomHostnameAnalysisResult,
DatabaseBackupSetting,
DataSource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export {
ContainerThrottlingData,
ContinuousWebJob,
CorsSettings,
CsmPublishingCredentialsPoliciesCollection,
CsmPublishingCredentialsPoliciesEntity,
CustomHostnameAnalysisResult,
DatabaseBackupSetting,
DataSource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export {
ContainerThrottlingData,
ContinuousWebJob,
CorsSettings,
CsmPublishingCredentialsPoliciesCollection,
CsmPublishingCredentialsPoliciesEntity,
CustomHostnameAnalysisResult,
DatabaseBackupSetting,
DataSource,
Expand Down
2 changes: 2 additions & 0 deletions sdk/appservice/arm-appservice/src/models/domainsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export {
ContainerThrottlingData,
ContinuousWebJob,
CorsSettings,
CsmPublishingCredentialsPoliciesCollection,
CsmPublishingCredentialsPoliciesEntity,
CustomHostnameAnalysisResult,
DatabaseBackupSetting,
DataSource,
Expand Down
139 changes: 133 additions & 6 deletions sdk/appservice/arm-appservice/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -759,8 +759,8 @@ export interface ManagedServiceIdentityUserAssignedIdentitiesValue {
*/
export interface ManagedServiceIdentity {
/**
* Type of managed service identity. Possible values include: 'None', 'SystemAssigned',
* 'UserAssigned'
* Type of managed service identity. Possible values include: 'SystemAssigned', 'UserAssigned',
* 'SystemAssigned, UserAssigned', 'None'
*/
type?: ManagedServiceIdentityType;
/**
Expand Down Expand Up @@ -4290,7 +4290,8 @@ export interface ApiKVReference {
secretName?: string;
secretVersion?: string;
/**
* Possible values include: 'None', 'SystemAssigned', 'UserAssigned'
* Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned',
* 'None'
*/
identityType?: ManagedServiceIdentityType;
details?: string;
Expand Down Expand Up @@ -4758,6 +4759,30 @@ export interface CsmCopySlotEntity {
siteConfig: SiteConfig;
}

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

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

/**
* Publishing options for requested profile.
*/
Expand Down Expand Up @@ -5129,7 +5154,8 @@ export interface KeyVaultReferenceResource extends ProxyOnlyResource {
secretName?: string;
secretVersion?: string;
/**
* Possible values include: 'None', 'SystemAssigned', 'UserAssigned'
* Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned',
* 'None'
*/
identityType?: ManagedServiceIdentityType;
details?: string;
Expand Down Expand Up @@ -9656,11 +9682,12 @@ export type RouteType = 'DEFAULT' | 'INHERITED' | 'STATIC';

/**
* Defines values for ManagedServiceIdentityType.
* Possible values include: 'None', 'SystemAssigned', 'UserAssigned'
* Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned',
* 'None'
* @readonly
* @enum {string}
*/
export type ManagedServiceIdentityType = 'None' | 'SystemAssigned' | 'UserAssigned';
export type ManagedServiceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None';

/**
* Defines values for IpFilterTag.
Expand Down Expand Up @@ -12857,6 +12884,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 updateScmAllowed operation.
*/
export type WebAppsUpdateScmAllowedResponse = 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
60 changes: 54 additions & 6 deletions sdk/appservice/arm-appservice/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1247,9 +1247,10 @@ export const ManagedServiceIdentity: msRest.CompositeMapper = {
type: {
name: "Enum",
allowedValues: [
"None",
"SystemAssigned",
"UserAssigned"
"UserAssigned",
"SystemAssigned, UserAssigned",
"None"
]
}
},
Expand Down Expand Up @@ -7505,9 +7506,10 @@ export const ApiKVReference: msRest.CompositeMapper = {
type: {
name: "Enum",
allowedValues: [
"None",
"SystemAssigned",
"UserAssigned"
"UserAssigned",
"SystemAssigned, UserAssigned",
"None"
]
}
},
Expand Down Expand Up @@ -8476,6 +8478,51 @@ export const CsmCopySlotEntity: msRest.CompositeMapper = {
}
};

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

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

export const CsmPublishingProfileOptions: msRest.CompositeMapper = {
serializedName: "CsmPublishingProfileOptions",
type: {
Expand Down Expand Up @@ -9144,9 +9191,10 @@ export const KeyVaultReferenceResource: msRest.CompositeMapper = {
type: {
name: "Enum",
allowedValues: [
"None",
"SystemAssigned",
"UserAssigned"
"UserAssigned",
"SystemAssigned, UserAssigned",
"None"
]
}
},
Expand Down
2 changes: 2 additions & 0 deletions sdk/appservice/arm-appservice/src/models/providerMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ export {
CsmOperationDescription,
CsmOperationDescriptionProperties,
CsmOperationDisplay,
CsmPublishingCredentialsPoliciesCollection,
CsmPublishingCredentialsPoliciesEntity,
CustomHostnameAnalysisResult,
DatabaseBackupSetting,
DataSource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export {
ContainerThrottlingData,
ContinuousWebJob,
CorsSettings,
CsmPublishingCredentialsPoliciesCollection,
CsmPublishingCredentialsPoliciesEntity,
CustomHostnameAnalysisResult,
DatabaseBackupSetting,
DataSource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export {
ContainerThrottlingData,
ContinuousWebJob,
CorsSettings,
CsmPublishingCredentialsPoliciesCollection,
CsmPublishingCredentialsPoliciesEntity,
CustomHostnameAnalysisResult,
DatabaseBackupSetting,
DataSource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export {
ContainerThrottlingData,
ContinuousWebJob,
CorsSettings,
CsmPublishingCredentialsPoliciesCollection,
CsmPublishingCredentialsPoliciesEntity,
CustomHostnameAnalysisResult,
DatabaseBackupSetting,
DataSource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export {
ContainerThrottlingData,
ContinuousWebJob,
CorsSettings,
CsmPublishingCredentialsPoliciesCollection,
CsmPublishingCredentialsPoliciesEntity,
CustomHostnameAnalysisResult,
DatabaseBackupSetting,
DataSource,
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 012780c

Please sign in to comment.