Пример #1
0
 /// <summary>
 /// Initializes a new instance of the ResourceGroupPatchable class.
 /// </summary>
 /// <param name="name">The name of the resource group.</param>
 /// <param name="properties">The resource group properties.</param>
 /// <param name="managedBy">The ID of the resource that manages this
 /// resource group.</param>
 /// <param name="tags">The tags attached to the resource group.</param>
 public ResourceGroupPatchable(string name = default(string), ResourceGroupProperties properties = default(ResourceGroupProperties), string managedBy = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Name       = name;
     Properties = properties;
     ManagedBy  = managedBy;
     Tags       = tags;
     CustomInit();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the ResourceGroup class.
 /// </summary>
 public ResourceGroup(string location, string id = default(string), string name = default(string), ResourceGroupProperties properties = default(ResourceGroupProperties), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Id         = id;
     Name       = name;
     Properties = properties;
     Location   = location;
     Tags       = tags;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the ResourceGroup class.
 /// </summary>
 /// <param name="location">The location of the resource group. It
 /// cannot be changed after the resource group has been created. It
 /// must be one of the supported Azure locations.</param>
 /// <param name="id">The ID of the resource group.</param>
 /// <param name="name">The name of the resource group.</param>
 /// <param name="managedBy">The ID of the resource that manages this
 /// resource group.</param>
 /// <param name="tags">The tags attached to the resource group.</param>
 public ResourceGroup(string location, string id = default(string), string name = default(string), ResourceGroupProperties properties = default(ResourceGroupProperties), string managedBy = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Id         = id;
     Name       = name;
     Properties = properties;
     Location   = location;
     ManagedBy  = managedBy;
     Tags       = tags;
     CustomInit();
 }