From e580521c0323f327795116cef8992bc8cf1a9fe5 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Fri, 17 Jan 2020 03:08:10 +0000 Subject: [PATCH] Generated from 143a23dadbcb971909c79157f894282d48305d6a Fixed prettier errors. --- .../arm-appconfiguration/LICENSE.txt | 2 +- .../arm-appconfiguration/README.md | 2 +- ...appConfigurationManagementClientContext.ts | 4 +- .../src/models/configurationStoresMappers.ts | 5 +- .../arm-appconfiguration/src/models/index.ts | 82 +++++++++++++ .../src/models/mappers.ts | 112 ++++++++++++++++++ 6 files changed, 202 insertions(+), 5 deletions(-) diff --git a/sdk/appconfiguration/arm-appconfiguration/LICENSE.txt b/sdk/appconfiguration/arm-appconfiguration/LICENSE.txt index b73b4a1293c3..ea8fb1516028 100644 --- a/sdk/appconfiguration/arm-appconfiguration/LICENSE.txt +++ b/sdk/appconfiguration/arm-appconfiguration/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2019 Microsoft +Copyright (c) 2020 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/appconfiguration/arm-appconfiguration/README.md b/sdk/appconfiguration/arm-appconfiguration/README.md index d294260f71ab..7b59569e1ed6 100644 --- a/sdk/appconfiguration/arm-appconfiguration/README.md +++ b/sdk/appconfiguration/arm-appconfiguration/README.md @@ -98,4 +98,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fappconfiguration%2Farm-appconfiguration%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/appconfiguration/arm-appconfiguration/README.png) diff --git a/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClientContext.ts b/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClientContext.ts index ebc7a1f964ab..1afb33b34583 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClientContext.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-appconfiguration"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class AppConfigurationManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; @@ -44,7 +44,7 @@ export class AppConfigurationManagementClientContext extends msRestAzure.AzureSe super(credentials, options); - this.apiVersion = '2019-02-01-preview'; + this.apiVersion = '2019-10-01'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; diff --git a/sdk/appconfiguration/arm-appconfiguration/src/models/configurationStoresMappers.ts b/sdk/appconfiguration/arm-appconfiguration/src/models/configurationStoresMappers.ts index bd94f9086b1c..0a3cf7534a60 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/models/configurationStoresMappers.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/models/configurationStoresMappers.ts @@ -17,5 +17,8 @@ export { KeyValue, ListKeyValueParameters, RegenerateKeyParameters, - Resource + Resource, + ResourceIdentity, + Sku, + UserIdentity } from "../models/mappers"; diff --git a/sdk/appconfiguration/arm-appconfiguration/src/models/index.ts b/sdk/appconfiguration/arm-appconfiguration/src/models/index.ts index 414d2c2d6d81..469ea8e76fe3 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/models/index.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/models/index.ts @@ -11,6 +11,63 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; +/** + * An interface representing UserIdentity. + */ +export interface UserIdentity { + /** + * The principal ID of the user-assigned identity. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly principalId?: string; + /** + * The client ID of the user-assigned identity. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly clientId?: string; +} + +/** + * An interface representing ResourceIdentity. + */ +export interface ResourceIdentity { + /** + * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an + * implicitly created identity and a set of user-assigned identities. The type 'None' will remove + * any identities. Possible values include: 'None', 'SystemAssigned', 'UserAssigned', + * 'SystemAssigned, UserAssigned' + */ + type?: IdentityType; + /** + * The list of user-assigned identities associated with the resource. The user-assigned identity + * dictionary keys will be ARM resource ids in the form: + * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: { [propertyName: string]: UserIdentity }; + /** + * The principal id of the identity. This property will only be provided for a system-assigned + * identity. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly principalId?: string; + /** + * The tenant id associated with the resource's identity. This property will only be provided for + * a system-assigned identity. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly tenantId?: string; +} + +/** + * Describes a configuration store SKU. + */ +export interface Sku { + /** + * The SKU name of the configuration store. + */ + name: string; +} + /** * An Azure resource. */ @@ -45,6 +102,10 @@ export interface Resource extends BaseResource { * all information to begin utilizing it. */ export interface ConfigurationStore extends Resource { + /** + * The managed identity information, if configured. + */ + identity?: ResourceIdentity; /** * The provisioning state of the configuration store. Possible values include: 'Creating', * 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' @@ -61,6 +122,10 @@ export interface ConfigurationStore extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly endpoint?: string; + /** + * The sku of the configuration store. + */ + sku: Sku; } /** @@ -71,6 +136,14 @@ export interface ConfigurationStoreUpdateParameters { * The properties for updating a configuration store. */ properties?: any; + /** + * The managed identity information for the configuration store. + */ + identity?: ResourceIdentity; + /** + * The SKU of the configuration store. + */ + sku?: Sku; /** * The ARM resource tags. */ @@ -362,6 +435,15 @@ export interface OperationDefinitionListResult extends Array