Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the TokenUpdateParameters class.
 /// </summary>
 /// <param name="scopeMapId">The resource ID of the scope map to which
 /// the token will be associated with.</param>
 /// <param name="status">The status of the token example enabled or
 /// disabled. Possible values include: 'enabled', 'disabled'</param>
 /// <param name="credentials">The credentials that can be used for
 /// authenticating the token.</param>
 public TokenUpdateParameters(string scopeMapId = default(string), string status = default(string), TokenCredentialsProperties credentials = default(TokenCredentialsProperties))
 {
     ScopeMapId  = scopeMapId;
     Status      = status;
     Credentials = credentials;
     CustomInit();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the Token class.
 /// </summary>
 /// <param name="id">The resource ID.</param>
 /// <param name="name">The name of the resource.</param>
 /// <param name="type">The type of the resource.</param>
 /// <param name="creationDate">The creation date of scope map.</param>
 /// <param name="provisioningState">Provisioning state of the resource.
 /// Possible values include: 'Creating', 'Updating', 'Deleting',
 /// 'Succeeded', 'Failed', 'Canceled'</param>
 /// <param name="scopeMapId">The resource ID of the scope map to which
 /// the token will be associated with.</param>
 /// <param name="credentials">The credentials that can be used for
 /// authenticating the token.</param>
 /// <param name="status">The status of the token example enabled or
 /// disabled. Possible values include: 'enabled', 'disabled'</param>
 public Token(string id = default(string), string name = default(string), string type = default(string), System.DateTime?creationDate = default(System.DateTime?), string provisioningState = default(string), string scopeMapId = default(string), TokenCredentialsProperties credentials = default(TokenCredentialsProperties), string status = default(string))
     : base(id, name, type)
 {
     CreationDate      = creationDate;
     ProvisioningState = provisioningState;
     ScopeMapId        = scopeMapId;
     Credentials       = credentials;
     Status            = status;
     CustomInit();
 }