Compartir a través de


BlobServiceProperties Class

Definition

The properties of a storage account’s Blob service.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.BlobServicePropertiesTypeConverter))]
public class BlobServiceProperties : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IBlobServiceProperties, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.BlobServicePropertiesTypeConverter))>]
type BlobServiceProperties = class
    interface IBlobServiceProperties
    interface IJsonSerializable
    interface IResourceAutoGenerated
    interface IValidates
Public Class BlobServiceProperties
Implements IBlobServiceProperties, IValidates
Inheritance
BlobServiceProperties
Attributes
Implements

Constructors

BlobServiceProperties()

Creates an new BlobServiceProperties instance.

Properties

BlobServicePropertyAutomaticSnapshotPolicyEnabled

Automatic Snapshot is enabled if set to true.

BlobServicePropertyDefaultServiceVersion

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.

ChangeFeedEnabled

Indicates whether change feed event logging is enabled for the Blob service.

CorCorsRule

The List of CORS rules. You can include up to five CorsRule elements in the request.

DeleteRetentionPolicyDay

Indicates the number of days that the deleted blob should be retained. The minimum specified value can be 1 and the maximum value can be 365.

DeleteRetentionPolicyEnabled

Indicates whether DeleteRetentionPolicy is enabled for the Blob service.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Name

The name of the resource

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of BlobServiceProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of BlobServiceProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IBlobServiceProperties.

FromJsonString(String)

Creates a new instance of BlobServiceProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of BlobServiceProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to