diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ManagedServiceIdentityType.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ManagedServiceIdentityType.cs new file mode 100644 index 000000000000..e3b55a54d08b --- /dev/null +++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ManagedServiceIdentityType.cs @@ -0,0 +1,22 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.HealthcareApis.Models +{ + + /// + /// Defines values for ManagedServiceIdentityType. + /// + public static class ManagedServiceIdentityType + { + public const string SystemAssigned = "SystemAssigned"; + public const string None = "None"; + } +} diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/Resource.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/Resource.cs index f01af7e84f4f..3ef3cc2edfe5 100644 --- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/Resource.cs +++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/Resource.cs @@ -42,7 +42,9 @@ public Resource() /// The resource tags. /// An etag associated with the resource, used for /// optimistic concurrency when editing it. - public Resource(Kind kind, string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string etag = default(string)) + /// Setting indicating whether the service has a + /// managed identity associated with it. + public Resource(Kind kind, string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string etag = default(string), ResourceIdentity identity = default(ResourceIdentity)) { Id = id; Name = name; @@ -51,6 +53,7 @@ public Resource() Location = location; Tags = tags; Etag = etag; + Identity = identity; CustomInit(); } @@ -103,6 +106,13 @@ public Resource() [JsonProperty(PropertyName = "etag")] public string Etag { get; set; } + /// + /// Gets or sets setting indicating whether the service has a managed + /// identity associated with it. + /// + [JsonProperty(PropertyName = "identity")] + public ResourceIdentity Identity { get; set; } + /// /// Validate the object. /// diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ResourceIdentity.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ResourceIdentity.cs new file mode 100644 index 000000000000..5c233c94888c --- /dev/null +++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ResourceIdentity.cs @@ -0,0 +1,56 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.HealthcareApis.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Setting indicating whether the service has a managed identity + /// associated with it. + /// + public partial class ResourceIdentity + { + /// + /// Initializes a new instance of the ResourceIdentity class. + /// + public ResourceIdentity() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ResourceIdentity class. + /// + /// Type of identity being specified, currently + /// SystemAssigned and None are allowed. Possible values include: + /// 'SystemAssigned', 'None' + public ResourceIdentity(string type = default(string)) + { + Type = type; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets type of identity being specified, currently + /// SystemAssigned and None are allowed. Possible values include: + /// 'SystemAssigned', 'None' + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + } +} diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServicesDescription.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServicesDescription.cs index 02d27083ac45..550594f2be93 100644 --- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServicesDescription.cs +++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServicesDescription.cs @@ -40,10 +40,12 @@ public ServicesDescription() /// The resource tags. /// An etag associated with the resource, used for /// optimistic concurrency when editing it. + /// Setting indicating whether the service has a + /// managed identity associated with it. /// The common properties of a /// service. - public ServicesDescription(Kind kind, string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string etag = default(string), ServicesProperties properties = default(ServicesProperties)) - : base(kind, location, id, name, type, tags, etag) + public ServicesDescription(Kind kind, string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string etag = default(string), ResourceIdentity identity = default(ResourceIdentity), ServicesProperties properties = default(ServicesProperties)) + : base(kind, location, id, name, type, tags, etag, identity) { Properties = properties; CustomInit(); diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/SdkInfo_HealthcareApisManagementClient.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/SdkInfo_HealthcareApisManagementClient.cs index 2f9b10186b4e..a0f9f7e31853 100644 --- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/SdkInfo_HealthcareApisManagementClient.cs +++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/SdkInfo_HealthcareApisManagementClient.cs @@ -25,16 +25,5 @@ public static IEnumerable> ApiInfo_HealthcareApisM }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "latest"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/healthcareapis/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=C:\\Repo\\azuresdk\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "8a02736ee4e89d8115d4ed5d2001e8c8d78ca878"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } -