forked from Azure/azure-sdk-for-net
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from bb65321f3637b8d9570a46b03c89b107cb229fe8
add cli.md for msi and fix location parameter
- Loading branch information
SDK Automation
committed
Feb 27, 2020
1 parent
0704d48
commit e33e676
Showing
13 changed files
with
630 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
...re.Management.ManagedServiceIdentity/src/Generated/ISystemAssignedIdentitiesOperations.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// <auto-generated> | ||
// 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. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.ManagedServiceIdentity | ||
{ | ||
using Microsoft.Rest; | ||
using Microsoft.Rest.Azure; | ||
using Models; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
|
||
/// <summary> | ||
/// SystemAssignedIdentitiesOperations operations. | ||
/// </summary> | ||
public partial interface ISystemAssignedIdentitiesOperations | ||
{ | ||
/// <summary> | ||
/// Gets the systemAssignedIdentity available under the specified RP | ||
/// scope. | ||
/// </summary> | ||
/// <param name='scope'> | ||
/// The resource provider scope of the resource. Parent resource being | ||
/// extended by Managed Identities. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
/// <exception cref="Microsoft.Rest.Azure.CloudException"> | ||
/// Thrown when the operation returned an invalid status code | ||
/// </exception> | ||
/// <exception cref="Microsoft.Rest.SerializationException"> | ||
/// Thrown when unable to deserialize the response | ||
/// </exception> | ||
/// <exception cref="Microsoft.Rest.ValidationException"> | ||
/// Thrown when a required parameter is null | ||
/// </exception> | ||
Task<AzureOperationResponse<SystemAssignedIdentity>> GetByScopeWithHttpMessagesAsync(string scope, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
98 changes: 98 additions & 0 deletions
98
...y/Microsoft.Azure.Management.ManagedServiceIdentity/src/Generated/Models/IdentityPatch.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
// <auto-generated> | ||
// 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. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.ManagedServiceIdentity.Models | ||
{ | ||
using Microsoft.Rest; | ||
using Microsoft.Rest.Azure; | ||
using Microsoft.Rest.Serialization; | ||
using Newtonsoft.Json; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// Describes an identity resource. | ||
/// </summary> | ||
[Rest.Serialization.JsonTransformation] | ||
public partial class IdentityPatch : IResource | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the IdentityPatch class. | ||
/// </summary> | ||
public IdentityPatch() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the IdentityPatch class. | ||
/// </summary> | ||
/// <param name="tags">Resource tags</param> | ||
/// <param name="tenantId">The id of the tenant which the identity | ||
/// belongs to.</param> | ||
/// <param name="principalId">The id of the service principal object | ||
/// associated with the created identity.</param> | ||
/// <param name="clientId">The id of the app associated with the | ||
/// identity. This is a random generated UUID by MSI.</param> | ||
/// <param name="type">The type of resource i.e. | ||
/// Microsoft.ManagedIdentity/userAssignedIdentities. Possible values | ||
/// include: 'Microsoft.ManagedIdentity/userAssignedIdentities'</param> | ||
public IdentityPatch(IDictionary<string, string> tags = default(IDictionary<string, string>), System.Guid? tenantId = default(System.Guid?), System.Guid? principalId = default(System.Guid?), System.Guid? clientId = default(System.Guid?), string type = default(string)) | ||
{ | ||
Tags = tags; | ||
TenantId = tenantId; | ||
PrincipalId = principalId; | ||
ClientId = clientId; | ||
Type = type; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets or sets resource tags | ||
/// </summary> | ||
[JsonProperty(PropertyName = "tags")] | ||
public IDictionary<string, string> Tags { get; set; } | ||
|
||
/// <summary> | ||
/// Gets the id of the tenant which the identity belongs to. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "properties.tenantId")] | ||
public System.Guid? TenantId { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets the id of the service principal object associated with the | ||
/// created identity. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "properties.principalId")] | ||
public System.Guid? PrincipalId { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets the id of the app associated with the identity. This is a | ||
/// random generated UUID by MSI. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "properties.clientId")] | ||
public System.Guid? ClientId { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets the type of resource i.e. | ||
/// Microsoft.ManagedIdentity/userAssignedIdentities. Possible values | ||
/// include: 'Microsoft.ManagedIdentity/userAssignedIdentities' | ||
/// </summary> | ||
[JsonProperty(PropertyName = "type")] | ||
public string Type { get; private set; } | ||
|
||
} | ||
} |
70 changes: 70 additions & 0 deletions
70
...entity/Microsoft.Azure.Management.ManagedServiceIdentity/src/Generated/Models/Resource.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
// <auto-generated> | ||
// 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. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.ManagedServiceIdentity.Models | ||
{ | ||
using Microsoft.Rest; | ||
using Microsoft.Rest.Azure; | ||
using Newtonsoft.Json; | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// Describes common properties of a resource. | ||
/// </summary> | ||
public partial class Resource : IResource | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the Resource class. | ||
/// </summary> | ||
public Resource() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the Resource class. | ||
/// </summary> | ||
/// <param name="id">The id of the resource.</param> | ||
/// <param name="name">The name of the resource.</param> | ||
/// <param name="location">The Azure region where the resource | ||
/// lives.</param> | ||
public Resource(string id = default(string), string name = default(string), string location = default(string)) | ||
{ | ||
Id = id; | ||
Name = name; | ||
Location = location; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets the id of the resource. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "id")] | ||
public string Id { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets the name of the resource. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "name")] | ||
public string Name { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the Azure region where the resource lives. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "location")] | ||
public string Location { get; set; } | ||
|
||
} | ||
} |
Oops, something went wrong.