コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the BlobServicePropertiesInner class.
 /// </summary>
 /// <param name="cors">Specifies CORS rules for the Blob service. You
 /// can include up to five CorsRule elements in the request. If no
 /// CorsRule elements are included in the request body, all CORS rules
 /// will be deleted, and CORS will be disabled for the Blob
 /// service.</param>
 /// <param name="defaultServiceVersion">DefaultServiceVersion indicates
 /// the default version to use for requests to the Blob service if an
 /// incoming request’s version is not specified. Possible values
 /// include version 2008-10-27 and all more recent versions.</param>
 /// <param name="deleteRetentionPolicy">The blob service properties for
 /// soft delete.</param>
 public BlobServicePropertiesInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), CorsRules cors = default(CorsRules), string defaultServiceVersion = default(string), DeleteRetentionPolicy deleteRetentionPolicy = default(DeleteRetentionPolicy))
     : base(location, id, name, type, tags)
 {
     Cors = cors;
     DefaultServiceVersion = defaultServiceVersion;
     DeleteRetentionPolicy = deleteRetentionPolicy;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the BlobServicePropertiesInner class.
 /// </summary>
 /// <param name="cors">Specifies CORS rules for the Blob service. You
 /// can include up to five CorsRule elements in the request. If no
 /// CorsRule elements are included in the request body, all CORS rules
 /// will be deleted, and CORS will be disabled for the Blob
 /// service.</param>
 /// <param name="defaultServiceVersion">DefaultServiceVersion indicates
 /// the default version to use for requests to the Blob service if an
 /// incoming request’s version is not specified. Possible values
 /// include version 2008-10-27 and all more recent versions.</param>
 /// <param name="deleteRetentionPolicy">The blob service properties for
 /// soft delete.</param>
 public BlobServicePropertiesInner(string id = default(string), string name = default(string), string type = default(string), CorsRules cors = default(CorsRules), string defaultServiceVersion = default(string), DeleteRetentionPolicy deleteRetentionPolicy = default(DeleteRetentionPolicy))
     : base(id, name, type)
 {
     Cors = cors;
     DefaultServiceVersion = defaultServiceVersion;
     DeleteRetentionPolicy = deleteRetentionPolicy;
     CustomInit();
 }