コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the GenericResource class.
 /// </summary>
 /// <param name="id">Resource ID</param>
 /// <param name="name">Resource name</param>
 /// <param name="type">Resource type</param>
 /// <param name="location">Resource location</param>
 /// <param name="extendedLocation">Resource extended location.</param>
 /// <param name="tags">Resource tags</param>
 /// <param name="plan">The plan of the resource.</param>
 /// <param name="properties">The resource properties.</param>
 /// <param name="kind">The kind of the resource.</param>
 /// <param name="managedBy">ID of the resource that manages this
 /// resource.</param>
 /// <param name="sku">The SKU of the resource.</param>
 /// <param name="identity">The identity of the resource.</param>
 public GenericResource(string id = default(string), string name = default(string), string type = default(string), string location = default(string), ExtendedLocation extendedLocation = default(ExtendedLocation), IDictionary <string, string> tags = default(IDictionary <string, string>), Plan plan = default(Plan), object properties = default(object), string kind = default(string), string managedBy = default(string), Sku sku = default(Sku), Identity identity = default(Identity))
     : base(id, name, type, location, extendedLocation, tags)
 {
     Plan       = plan;
     Properties = properties;
     Kind       = kind;
     ManagedBy  = managedBy;
     Sku        = sku;
     Identity   = identity;
     CustomInit();
 }