Use Pulumi's new import command to generate code from existing cloud resources. Learn More

GetBlobServiceProperties

Using GetBlobServiceProperties

function getBlobServiceProperties(args: GetBlobServicePropertiesArgs, opts?: InvokeOptions): Promise<GetBlobServicePropertiesResult>
def get_blob_service_properties(account_name: Optional[str] = None, blob_services_name: Optional[str] = None, resource_group_name: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetBlobServicePropertiesResult
func LookupBlobServiceProperties(ctx *Context, args *LookupBlobServicePropertiesArgs, opts ...InvokeOption) (*LookupBlobServicePropertiesResult, error)

Note: This function is named LookupBlobServiceProperties in the Go SDK.

public static class GetBlobServiceProperties {
    public static Task<GetBlobServicePropertiesResult> InvokeAsync(GetBlobServicePropertiesArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

AccountName string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
BlobServicesName string
The name of the blob Service within the specified storage account. Blob Service Name must be ‘default’
ResourceGroupName string
The name of the resource group within the user’s subscription. The name is case insensitive.
AccountName string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
BlobServicesName string
The name of the blob Service within the specified storage account. Blob Service Name must be ‘default’
ResourceGroupName string
The name of the resource group within the user’s subscription. The name is case insensitive.
accountName string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
blobServicesName string
The name of the blob Service within the specified storage account. Blob Service Name must be ‘default’
resourceGroupName string
The name of the resource group within the user’s subscription. The name is case insensitive.
account_name str
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
blob_services_name str
The name of the blob Service within the specified storage account. Blob Service Name must be ‘default’
resource_group_name str
The name of the resource group within the user’s subscription. The name is case insensitive.

GetBlobServiceProperties Result

The following output properties are available:

Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name string
The name of the resource
Sku Pulumi.AzureNextGen.Storage.Outputs.SkuResponse
Sku name and tier.
Type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
AutomaticSnapshotPolicyEnabled bool
Deprecated in favor of isVersioningEnabled property.
ChangeFeed Pulumi.AzureNextGen.Storage.Outputs.ChangeFeedResponse
The blob service properties for change feed events.
ContainerDeleteRetentionPolicy Pulumi.AzureNextGen.Storage.Outputs.DeleteRetentionPolicyResponse
The blob service properties for container soft delete.
Cors Pulumi.AzureNextGen.Storage.Outputs.CorsRulesResponse
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 Pulumi.AzureNextGen.Storage.Outputs.DeleteRetentionPolicyResponse
The blob service properties for blob soft delete.
IsVersioningEnabled bool
Versioning is enabled if set to true.
RestorePolicy Pulumi.AzureNextGen.Storage.Outputs.RestorePolicyPropertiesResponse
The blob service properties for blob restore policy.
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name string
The name of the resource
Sku SkuResponse
Sku name and tier.
Type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
AutomaticSnapshotPolicyEnabled bool
Deprecated in favor of isVersioningEnabled property.
ChangeFeed ChangeFeedResponse
The blob service properties for change feed events.
ContainerDeleteRetentionPolicy DeleteRetentionPolicyResponse
The blob service properties for container soft delete.
Cors CorsRulesResponse
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 DeleteRetentionPolicyResponse
The blob service properties for blob soft delete.
IsVersioningEnabled bool
Versioning is enabled if set to true.
RestorePolicy RestorePolicyPropertiesResponse
The blob service properties for blob restore policy.
id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name string
The name of the resource
sku SkuResponse
Sku name and tier.
type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
automaticSnapshotPolicyEnabled boolean
Deprecated in favor of isVersioningEnabled property.
changeFeed ChangeFeedResponse
The blob service properties for change feed events.
containerDeleteRetentionPolicy DeleteRetentionPolicyResponse
The blob service properties for container soft delete.
cors CorsRulesResponse
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 DeleteRetentionPolicyResponse
The blob service properties for blob soft delete.
isVersioningEnabled boolean
Versioning is enabled if set to true.
restorePolicy RestorePolicyPropertiesResponse
The blob service properties for blob restore policy.
id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name str
The name of the resource
sku SkuResponse
Sku name and tier.
type str
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
automatic_snapshot_policy_enabled bool
Deprecated in favor of isVersioningEnabled property.
change_feed ChangeFeedResponse
The blob service properties for change feed events.
container_delete_retention_policy DeleteRetentionPolicyResponse
The blob service properties for container soft delete.
cors CorsRulesResponse
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.
default_service_version str
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.
delete_retention_policy DeleteRetentionPolicyResponse
The blob service properties for blob soft delete.
is_versioning_enabled bool
Versioning is enabled if set to true.
restore_policy RestorePolicyPropertiesResponse
The blob service properties for blob restore policy.

Supporting Types

ChangeFeedResponse

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

CorsRuleResponse

AllowedHeaders List<string>
Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
AllowedMethods List<string>
Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
AllowedOrigins List<string>
Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or “*” to allow all domains
ExposedHeaders List<string>
Required if CorsRule element is present. A list of response headers to expose to CORS clients.
MaxAgeInSeconds int
Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
AllowedHeaders []string
Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
AllowedMethods []string
Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
AllowedOrigins []string
Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or “*” to allow all domains
ExposedHeaders []string
Required if CorsRule element is present. A list of response headers to expose to CORS clients.
MaxAgeInSeconds int
Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
allowedHeaders string[]
Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
allowedMethods string[]
Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
allowedOrigins string[]
Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or “*” to allow all domains
exposedHeaders string[]
Required if CorsRule element is present. A list of response headers to expose to CORS clients.
maxAgeInSeconds number
Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
allowed_headers Sequence[str]
Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
allowed_methods Sequence[str]
Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
allowed_origins Sequence[str]
Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or “*” to allow all domains
exposed_headers Sequence[str]
Required if CorsRule element is present. A list of response headers to expose to CORS clients.
max_age_in_seconds int
Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.

CorsRulesResponse

CorsRules List<Pulumi.AzureNextGen.Storage.Inputs.CorsRuleResponseArgs>
The List of CORS rules. You can include up to five CorsRule elements in the request.
CorsRules []CorsRuleResponse
The List of CORS rules. You can include up to five CorsRule elements in the request.
corsRules CorsRuleResponse[]
The List of CORS rules. You can include up to five CorsRule elements in the request.
cors_rules Sequence[CorsRuleResponseArgs]
The List of CORS rules. You can include up to five CorsRule elements in the request.

DeleteRetentionPolicyResponse

Days int
Indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365.
Enabled bool
Indicates whether DeleteRetentionPolicy is enabled.
Days int
Indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365.
Enabled bool
Indicates whether DeleteRetentionPolicy is enabled.
days number
Indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365.
enabled boolean
Indicates whether DeleteRetentionPolicy is enabled.
days int
Indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365.
enabled bool
Indicates whether DeleteRetentionPolicy is enabled.

RestorePolicyPropertiesResponse

Enabled bool
Blob restore is enabled if set to true.
LastEnabledTime string
Deprecated in favor of minRestoreTime property.
MinRestoreTime string
Returns the minimum date and time that the restore can be started.
Days int
how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days.
Enabled bool
Blob restore is enabled if set to true.
LastEnabledTime string
Deprecated in favor of minRestoreTime property.
MinRestoreTime string
Returns the minimum date and time that the restore can be started.
Days int
how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days.
enabled boolean
Blob restore is enabled if set to true.
lastEnabledTime string
Deprecated in favor of minRestoreTime property.
minRestoreTime string
Returns the minimum date and time that the restore can be started.
days number
how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days.
enabled bool
Blob restore is enabled if set to true.
last_enabled_time str
Deprecated in favor of minRestoreTime property.
min_restore_time str
Returns the minimum date and time that the restore can be started.
days int
how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days.

SkuResponse

Name string
The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.
Tier string
The SKU tier. This is based on the SKU name.
Name string
The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.
Tier string
The SKU tier. This is based on the SKU name.
name string
The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.
tier string
The SKU tier. This is based on the SKU name.
name str
The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.
tier str
The SKU tier. This is based on the SKU name.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-nextgen
License
Apache-2.0