コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the ServerForCreate class.
 /// </summary>
 /// <param name="properties">Properties of the server.</param>
 /// <param name="location">The location the resource resides
 /// in.</param>
 /// <param name="sku">The SKU (pricing tier) of the server.</param>
 /// <param name="tags">Application-specific metadata in the form of
 /// key-value pairs.</param>
 public ServerForCreate(ServerPropertiesForCreate properties, string location, Sku sku = default(Sku), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Sku        = sku;
     Properties = properties;
     Location   = location;
     Tags       = tags;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the ServerForCreate class.
 /// </summary>
 /// <param name="properties">Properties of the server.</param>
 /// <param name="location">The location the resource resides
 /// in.</param>
 /// <param name="identity">The Azure Active Directory identity of the
 /// server.</param>
 /// <param name="sku">The SKU (pricing tier) of the server.</param>
 /// <param name="tags">Application-specific metadata in the form of
 /// key-value pairs.</param>
 public ServerForCreate(ServerPropertiesForCreate properties, string location, ResourceIdentity identity = default(ResourceIdentity), Sku sku = default(Sku), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Identity   = identity;
     Sku        = sku;
     Properties = properties;
     Location   = location;
     Tags       = tags;
     CustomInit();
 }