共用方式為


BlobServicePropertiesInner Constructors

Definition

Overloads

BlobServicePropertiesInner()

Initializes a new instance of the BlobServicePropertiesInner class.

BlobServicePropertiesInner(String, String, String, CorsRules, String, DeleteRetentionPolicy)

Initializes a new instance of the BlobServicePropertiesInner class.

BlobServicePropertiesInner()

Initializes a new instance of the BlobServicePropertiesInner class.

public BlobServicePropertiesInner ();
Public Sub New ()

Applies to

BlobServicePropertiesInner(String, String, String, CorsRules, String, DeleteRetentionPolicy)

Initializes a new instance of the BlobServicePropertiesInner class.

public BlobServicePropertiesInner (string id = default, string name = default, string type = default, Microsoft.Azure.Management.Storage.Fluent.Models.CorsRules cors = default, string defaultServiceVersion = default, Microsoft.Azure.Management.Storage.Fluent.Models.DeleteRetentionPolicy deleteRetentionPolicy = default);
new Microsoft.Azure.Management.Storage.Fluent.Models.BlobServicePropertiesInner : string * string * string * Microsoft.Azure.Management.Storage.Fluent.Models.CorsRules * string * Microsoft.Azure.Management.Storage.Fluent.Models.DeleteRetentionPolicy -> Microsoft.Azure.Management.Storage.Fluent.Models.BlobServicePropertiesInner
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional cors As CorsRules = Nothing, Optional defaultServiceVersion As String = Nothing, Optional deleteRetentionPolicy As DeleteRetentionPolicy = Nothing)

Parameters

id
String
name
String
type
String
cors
CorsRules

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.

defaultServiceVersion
String

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.

deleteRetentionPolicy
DeleteRetentionPolicy

The blob service properties for soft delete.

Applies to