Skip to content

Commit

Permalink
CodeGen from PR 15985 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge b646ce2253e45b367cb4625f6fb54adc19c54ced into a23723a7e91965bb147494d316b022373c05a320
  • Loading branch information
SDKAuto committed Sep 10, 2021
1 parent eb24323 commit ac5bc4a
Show file tree
Hide file tree
Showing 5 changed files with 312 additions and 147 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
138 changes: 94 additions & 44 deletions sdk/appservice/arm-appservice/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6609,7 +6609,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 +6647,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 +6685,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 +6789,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 +6835,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 +6879,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 +6959,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 +7147,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 +7496,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 +7739,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 +7845,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 +7970,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 +8013,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 +8025,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 +8046,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 +8062,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 @@ -20488,6 +20488,56 @@ export type WebAppsGetMSDeployLogResponse = MSDeployLog & {
};
};

/**
* Contains response data for the getOneDeployStatus operation.
*/
export type WebAppsGetOneDeployStatusResponse = {
/**
* The parsed response body.
*/
body: any;

/**
* 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: any;
};
};

/**
* Contains response data for the createOneDeployOperation operation.
*/
export type WebAppsCreateOneDeployOperationResponse = {
/**
* The parsed response body.
*/
body: any;

/**
* 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: any;
};
};

/**
* Contains response data for the listFunctions operation.
*/
Expand Down
Loading

0 comments on commit ac5bc4a

Please sign in to comment.