Skip to content

Commit

Permalink
CodeGen from PR 16080 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge f8c26c191bdd5fbe993de72b3bfd9ad6425b514e into a23723a7e91965bb147494d316b022373c05a320
  • Loading branch information
SDKAuto committed Sep 17, 2021
1 parent 3c7a547 commit 5dcdde9
Show file tree
Hide file tree
Showing 4 changed files with 166 additions and 153 deletions.
2 changes: 1 addition & 1 deletion sdk/appservice/arm-appservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.6.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appservice/arm-appservice",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
112 changes: 64 additions & 48 deletions sdk/appservice/arm-appservice/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6242,9 +6242,13 @@ export interface StaticSiteARMResource extends Resource {
readonly userProvidedFunctionApps?: StaticSiteUserProvidedFunctionApp[];
/**
* The provider that submitted the last deployment to the primary environment of the static site.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly provider?: string;
provider?: string;
/**
* State indicating the status of the enterprise grade CDN serving traffic to the static web app.
* Possible values include: 'Enabled', 'Enabling', 'Disabled', 'Disabling'
*/
enterpriseGradeCdnStatus?: EnterpriseGradeCdnStatus;
sku?: SkuDescription;
identity?: ManagedServiceIdentity;
}
Expand Down Expand Up @@ -6420,9 +6424,13 @@ export interface StaticSitePatchResource extends ProxyOnlyResource {
readonly userProvidedFunctionApps?: StaticSiteUserProvidedFunctionApp[];
/**
* The provider that submitted the last deployment to the primary environment of the static site.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly provider?: string;
provider?: string;
/**
* State indicating the status of the enterprise grade CDN serving traffic to the static web app.
* Possible values include: 'Enabled', 'Enabling', 'Disabled', 'Disabling'
*/
enterpriseGradeCdnStatus?: EnterpriseGradeCdnStatus;
}

/**
Expand Down Expand Up @@ -6609,7 +6617,7 @@ export interface AllowedAudiencesValidation {
/**
* The configuration settings of the Azure Active Directory allowed principals.
*/
export interface AllowedPrincipals extends ProxyOnlyResource {
export interface AllowedPrincipals {
/**
* The list of the allowed groups.
*/
Expand Down Expand Up @@ -6647,7 +6655,7 @@ export interface ApiKVReference extends ProxyOnlyResource {
* The configuration settings of the app registration for providers that have app ids and app
* secrets
*/
export interface AppRegistration extends ProxyOnlyResource {
export interface AppRegistration {
/**
* The App ID of the app used for login.
*/
Expand Down Expand Up @@ -6685,7 +6693,7 @@ export interface LoginScopes {
/**
* The configuration settings of the Apple provider.
*/
export interface Apple extends ProxyOnlyResource {
export interface Apple {
/**
* <code>false</code> if the Apple provider should not be enabled despite the set registration;
* otherwise, <code>true</code>.
Expand Down Expand Up @@ -6789,7 +6797,7 @@ export interface AuthPlatform {
/**
* The configuration settings of the Azure Active Directory app registration.
*/
export interface AzureActiveDirectoryRegistration extends ProxyOnlyResource {
export interface AzureActiveDirectoryRegistration {
/**
* The OpenID Connect Issuer URI that represents the entity which issues access tokens for this
* application.
Expand Down Expand Up @@ -6835,7 +6843,7 @@ export interface AzureActiveDirectoryRegistration extends ProxyOnlyResource {
/**
* The configuration settings of the Azure Active Directory login flow.
*/
export interface AzureActiveDirectoryLogin extends ProxyOnlyResource {
export interface AzureActiveDirectoryLogin {
/**
* Login parameters to send to the OpenID Connect authorization endpoint when
* a user logs in. Each parameter must be in the form "key=value".
Expand Down Expand Up @@ -6879,7 +6887,7 @@ export interface DefaultAuthorizationPolicy {
/**
* The configuration settings of the Azure Active Directory token validation flow.
*/
export interface AzureActiveDirectoryValidation extends ProxyOnlyResource {
export interface AzureActiveDirectoryValidation {
/**
* The configuration settings of the checks that should be made while validating the JWT Claims.
*/
Expand Down Expand Up @@ -6959,7 +6967,7 @@ export interface AzureStaticWebAppsRegistration {
/**
* The configuration settings of the Azure Static Web Apps provider.
*/
export interface AzureStaticWebApps extends ProxyOnlyResource {
export interface AzureStaticWebApps {
/**
* <code>false</code> if the Azure Static Web Apps provider should not be enabled despite the set
* registration; otherwise, <code>true</code>.
Expand Down Expand Up @@ -7147,7 +7155,7 @@ export interface BackupRequest extends ProxyOnlyResource {
/**
* The configuration settings of the storage of the tokens if blob storage is used.
*/
export interface BlobStorageTokenStore extends ProxyOnlyResource {
export interface BlobStorageTokenStore {
/**
* The name of the app setting containing the SAS URL of the blob storage containing the tokens.
*/
Expand Down Expand Up @@ -7496,7 +7504,7 @@ export interface OpenIdConnectLogin {
/**
* The configuration settings of the custom Open ID Connect provider.
*/
export interface CustomOpenIdConnectProvider extends ProxyOnlyResource {
export interface CustomOpenIdConnectProvider {
/**
* <code>false</code> if the custom Open ID provider provider should not be enabled; otherwise,
* <code>true</code>.
Expand Down Expand Up @@ -7739,7 +7747,7 @@ export interface FunctionSecrets {
/**
* The configuration settings of the GitHub provider.
*/
export interface GitHub extends ProxyOnlyResource {
export interface GitHub {
/**
* <code>false</code> if the GitHub provider should not be enabled despite the set registration;
* otherwise, <code>true</code>.
Expand Down Expand Up @@ -7845,7 +7853,7 @@ export interface GlobalValidation {
/**
* The configuration settings of the Google provider.
*/
export interface Google extends ProxyOnlyResource {
export interface Google {
/**
* <code>false</code> if the Google provider should not be enabled despite the set registration;
* otherwise, <code>true</code>.
Expand Down Expand Up @@ -7970,6 +7978,29 @@ export interface HttpSettings {
forwardProxy?: ForwardProxy;
}

/**
* The configuration settings of the legacy Microsoft Account provider.
*/
export interface LegacyMicrosoftAccount {
/**
* <code>false</code> if the legacy Microsoft Account provider should not be enabled despite the
* set registration; otherwise, <code>true</code>.
*/
enabled?: boolean;
/**
* The configuration settings of the app registration for the legacy Microsoft Account provider.
*/
registration?: ClientRegistration;
/**
* The configuration settings of the login flow.
*/
login?: LoginScopes;
/**
* The configuration settings of the legacy Microsoft Account provider token validation flow.
*/
validation?: AllowedAudiencesValidation;
}

/**
* The configuration settings of the app registration for the Twitter provider.
*/
Expand All @@ -7990,7 +8021,7 @@ export interface TwitterRegistration {
/**
* The configuration settings of the Twitter provider.
*/
export interface Twitter extends ProxyOnlyResource {
export interface Twitter {
/**
* <code>false</code> if the Twitter provider should not be enabled despite the set registration;
* otherwise, <code>true</code>.
Expand All @@ -8002,29 +8033,6 @@ export interface Twitter extends ProxyOnlyResource {
registration?: TwitterRegistration;
}

/**
* The configuration settings of the legacy Microsoft Account provider.
*/
export interface LegacyMicrosoftAccount extends ProxyOnlyResource {
/**
* <code>false</code> if the legacy Microsoft Account provider should not be enabled despite the
* set registration; otherwise, <code>true</code>.
*/
enabled?: boolean;
/**
* The configuration settings of the app registration for the legacy Microsoft Account provider.
*/
registration?: ClientRegistration;
/**
* The configuration settings of the login flow.
*/
login?: LoginScopes;
/**
* The configuration settings of the legacy Microsoft Account provider token validation flow.
*/
validation?: AllowedAudiencesValidation;
}

/**
* The configuration settings of each of the identity providers used to configure App Service
* Authentication/Authorization.
Expand All @@ -8046,19 +8054,14 @@ export interface IdentityProviders {
* The configuration settings of the Google provider.
*/
google?: Google;
/**
* The configuration settings of the Twitter provider.
*/
twitter?: Twitter;
/**
* The map of the name of the alias of each custom Open ID Connect provider to the
* configuration settings of the custom Open ID Connect provider.
*/
customOpenIdConnectProviders?: { [propertyName: string]: CustomOpenIdConnectProvider };
/**
* The configuration settings of the legacy Microsoft Account provider.
*/
legacyMicrosoftAccount?: LegacyMicrosoftAccount;
/**
* The configuration settings of the Twitter provider.
*/
twitter?: Twitter;
/**
* The configuration settings of the Apple provider.
*/
Expand All @@ -8067,6 +8070,11 @@ export interface IdentityProviders {
* The configuration settings of the Azure Static Web Apps provider.
*/
azureStaticWebApps?: AzureStaticWebApps;
/**
* The map of the name of the alias of each custom Open ID Connect provider to the
* configuration settings of the custom Open ID Connect provider.
*/
customOpenIdConnectProviders?: { [propertyName: string]: CustomOpenIdConnectProvider };
}

/**
Expand Down Expand Up @@ -12702,6 +12710,14 @@ export type ValidateResourceTypes = 'ServerFarm' | 'Site' | 'Microsoft.Web/hosti
*/
export type StagingEnvironmentPolicy = 'Enabled' | 'Disabled';

/**
* Defines values for EnterpriseGradeCdnStatus.
* Possible values include: 'Enabled', 'Enabling', 'Disabled', 'Disabling'
* @readonly
* @enum {string}
*/
export type EnterpriseGradeCdnStatus = 'Enabled' | 'Enabling' | 'Disabled' | 'Disabling';

/**
* Defines values for BuildStatus.
* Possible values include: 'WaitingForDeployment', 'Uploading', 'Deploying', 'Ready', 'Failed',
Expand Down
Loading

0 comments on commit 5dcdde9

Please sign in to comment.