These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.storage.getBlobServiceProperties
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. API Version: 2021-02-01.
Using getBlobServiceProperties
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBlobServiceProperties(args: GetBlobServicePropertiesArgs, opts?: InvokeOptions): Promise<GetBlobServicePropertiesResult>
function getBlobServicePropertiesOutput(args: GetBlobServicePropertiesOutputArgs, opts?: InvokeOptions): Output<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
def get_blob_service_properties_output(account_name: Optional[pulumi.Input[str]] = None,
blob_services_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBlobServicePropertiesResult]
func LookupBlobServiceProperties(ctx *Context, args *LookupBlobServicePropertiesArgs, opts ...InvokeOption) (*LookupBlobServicePropertiesResult, error)
func LookupBlobServicePropertiesOutput(ctx *Context, args *LookupBlobServicePropertiesOutputArgs, opts ...InvokeOption) LookupBlobServicePropertiesResultOutput
> Note: This function is named LookupBlobServiceProperties
in the Go SDK.
public static class GetBlobServiceProperties
{
public static Task<GetBlobServicePropertiesResult> InvokeAsync(GetBlobServicePropertiesArgs args, InvokeOptions? opts = null)
public static Output<GetBlobServicePropertiesResult> Invoke(GetBlobServicePropertiesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBlobServicePropertiesResult> getBlobServiceProperties(GetBlobServicePropertiesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:storage:getBlobServiceProperties
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name 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.
- Blob
Services stringName - The name of the blob Service within the specified storage account. Blob Service Name must be 'default'
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Account
Name 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.
- Blob
Services stringName - The name of the blob Service within the specified storage account. Blob Service Name must be 'default'
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- account
Name 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.
- blob
Services StringName - The name of the blob Service within the specified storage account. Blob Service Name must be 'default'
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- account
Name 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.
- blob
Services stringName - The name of the blob Service within the specified storage account. Blob Service Name must be 'default'
- resource
Group stringName - 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_ strname - The name of the blob Service within the specified storage account. Blob Service Name must be 'default'
- resource_
group_ strname - The name of the resource group within the user's subscription. The name is case insensitive.
- account
Name 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.
- blob
Services StringName - The name of the blob Service within the specified storage account. Blob Service Name must be 'default'
- resource
Group StringName - 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.
Azure Native. Storage. Outputs. Sku Response - Sku name and tier.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Automatic
Snapshot boolPolicy Enabled - Deprecated in favor of isVersioningEnabled property.
- Change
Feed Pulumi.Azure Native. Storage. Outputs. Change Feed Response - The blob service properties for change feed events.
- Container
Delete Pulumi.Retention Policy Azure Native. Storage. Outputs. Delete Retention Policy Response - The blob service properties for container soft delete.
- Cors
Pulumi.
Azure Native. Storage. Outputs. Cors Rules Response - 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 stringVersion - 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 Pulumi.Policy Azure Native. Storage. Outputs. Delete Retention Policy Response - The blob service properties for blob soft delete.
- Is
Versioning boolEnabled - Versioning is enabled if set to true.
- Last
Access Pulumi.Time Tracking Policy Azure Native. Storage. Outputs. Last Access Time Tracking Policy Response - The blob service property to configure last access time based tracking policy.
- Restore
Policy Pulumi.Azure Native. Storage. Outputs. Restore Policy Properties Response - 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
Sku
Response - Sku name and tier.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Automatic
Snapshot boolPolicy Enabled - Deprecated in favor of isVersioningEnabled property.
- Change
Feed ChangeFeed Response - The blob service properties for change feed events.
- Container
Delete DeleteRetention Policy Retention Policy Response - The blob service properties for container soft delete.
- Cors
Cors
Rules Response - 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 stringVersion - 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 DeletePolicy Retention Policy Response - The blob service properties for blob soft delete.
- Is
Versioning boolEnabled - Versioning is enabled if set to true.
- Last
Access LastTime Tracking Policy Access Time Tracking Policy Response - The blob service property to configure last access time based tracking policy.
- Restore
Policy RestorePolicy Properties Response - 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
Sku
Response - Sku name and tier.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- automatic
Snapshot BooleanPolicy Enabled - Deprecated in favor of isVersioningEnabled property.
- change
Feed ChangeFeed Response - The blob service properties for change feed events.
- container
Delete DeleteRetention Policy Retention Policy Response - The blob service properties for container soft delete.
- cors
Cors
Rules Response - 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 StringVersion - 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 DeletePolicy Retention Policy Response - The blob service properties for blob soft delete.
- is
Versioning BooleanEnabled - Versioning is enabled if set to true.
- last
Access LastTime Tracking Policy Access Time Tracking Policy Response - The blob service property to configure last access time based tracking policy.
- restore
Policy RestorePolicy Properties Response - 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
Sku
Response - Sku name and tier.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- automatic
Snapshot booleanPolicy Enabled - Deprecated in favor of isVersioningEnabled property.
- change
Feed ChangeFeed Response - The blob service properties for change feed events.
- container
Delete DeleteRetention Policy Retention Policy Response - The blob service properties for container soft delete.
- cors
Cors
Rules Response - 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 stringVersion - 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 DeletePolicy Retention Policy Response - The blob service properties for blob soft delete.
- is
Versioning booleanEnabled - Versioning is enabled if set to true.
- last
Access LastTime Tracking Policy Access Time Tracking Policy Response - The blob service property to configure last access time based tracking policy.
- restore
Policy RestorePolicy Properties Response - 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
Sku
Response - Sku name and tier.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- automatic_
snapshot_ boolpolicy_ enabled - Deprecated in favor of isVersioningEnabled property.
- change_
feed ChangeFeed Response - The blob service properties for change feed events.
- container_
delete_ Deleteretention_ policy Retention Policy Response - The blob service properties for container soft delete.
- cors
Cors
Rules Response - 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_ strversion - 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_ Deletepolicy Retention Policy Response - The blob service properties for blob soft delete.
- is_
versioning_ boolenabled - Versioning is enabled if set to true.
- last_
access_ Lasttime_ tracking_ policy Access Time Tracking Policy Response - The blob service property to configure last access time based tracking policy.
- restore_
policy RestorePolicy Properties Response - 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 Property Map
- Sku name and tier.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- automatic
Snapshot BooleanPolicy Enabled - Deprecated in favor of isVersioningEnabled property.
- change
Feed Property Map - The blob service properties for change feed events.
- container
Delete Property MapRetention Policy - The blob service properties for container soft delete.
- cors Property Map
- 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 StringVersion - 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 Property MapPolicy - The blob service properties for blob soft delete.
- is
Versioning BooleanEnabled - Versioning is enabled if set to true.
- last
Access Property MapTime Tracking Policy - The blob service property to configure last access time based tracking policy.
- restore
Policy Property Map - 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.
- Retention
In intDays - Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed.
- Enabled bool
- Indicates whether change feed event logging is enabled for the Blob service.
- Retention
In intDays - Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed.
- enabled Boolean
- Indicates whether change feed event logging is enabled for the Blob service.
- retention
In IntegerDays - Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed.
- enabled boolean
- Indicates whether change feed event logging is enabled for the Blob service.
- retention
In numberDays - Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed.
- enabled bool
- Indicates whether change feed event logging is enabled for the Blob service.
- retention_
in_ intdays - Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed.
- enabled Boolean
- Indicates whether change feed event logging is enabled for the Blob service.
- retention
In NumberDays - Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed.
CorsRuleResponse
- Allowed
Headers List<string> - Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
- Allowed
Methods List<string> - Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
- Allowed
Origins List<string> - Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
- Exposed
Headers List<string> - Required if CorsRule element is present. A list of response headers to expose to CORS clients.
- Max
Age intIn Seconds - Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
- Allowed
Headers []string - Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
- Allowed
Methods []string - Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
- Allowed
Origins []string - Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
- Exposed
Headers []string - Required if CorsRule element is present. A list of response headers to expose to CORS clients.
- Max
Age intIn Seconds - Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
- allowed
Headers List<String> - Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
- allowed
Methods List<String> - Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
- allowed
Origins List<String> - Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
- exposed
Headers List<String> - Required if CorsRule element is present. A list of response headers to expose to CORS clients.
- max
Age IntegerIn Seconds - Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
- allowed
Headers string[] - Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
- allowed
Methods string[] - Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
- allowed
Origins string[] - Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
- exposed
Headers string[] - Required if CorsRule element is present. A list of response headers to expose to CORS clients.
- max
Age numberIn Seconds - 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_ intin_ seconds - Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
- allowed
Headers List<String> - Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
- allowed
Methods List<String> - Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
- allowed
Origins List<String> - Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
- exposed
Headers List<String> - Required if CorsRule element is present. A list of response headers to expose to CORS clients.
- max
Age NumberIn Seconds - Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
CorsRulesResponse
- Cors
Rules List<Pulumi.Azure Native. Storage. Inputs. Cors Rule Response> - The List of CORS rules. You can include up to five CorsRule elements in the request.
- Cors
Rules []CorsRule Response - The List of CORS rules. You can include up to five CorsRule elements in the request.
- cors
Rules List<CorsRule Response> - The List of CORS rules. You can include up to five CorsRule elements in the request.
- cors
Rules CorsRule Response[] - The List of CORS rules. You can include up to five CorsRule elements in the request.
- cors_
rules Sequence[CorsRule Response] - The List of CORS rules. You can include up to five CorsRule elements in the request.
- cors
Rules List<Property Map> - The List of CORS rules. You can include up to five CorsRule elements in the request.
DeleteRetentionPolicyResponse
LastAccessTimeTrackingPolicyResponse
- Enable bool
- When set to true last access time based tracking is enabled.
- Blob
Type List<string> - An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only
- Name string
- Name of the policy. The valid value is AccessTimeTracking. This field is currently read only
- Tracking
Granularity intIn Days - The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1
- Enable bool
- When set to true last access time based tracking is enabled.
- Blob
Type []string - An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only
- Name string
- Name of the policy. The valid value is AccessTimeTracking. This field is currently read only
- Tracking
Granularity intIn Days - The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1
- enable Boolean
- When set to true last access time based tracking is enabled.
- blob
Type List<String> - An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only
- name String
- Name of the policy. The valid value is AccessTimeTracking. This field is currently read only
- tracking
Granularity IntegerIn Days - The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1
- enable boolean
- When set to true last access time based tracking is enabled.
- blob
Type string[] - An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only
- name string
- Name of the policy. The valid value is AccessTimeTracking. This field is currently read only
- tracking
Granularity numberIn Days - The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1
- enable bool
- When set to true last access time based tracking is enabled.
- blob_
type Sequence[str] - An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only
- name str
- Name of the policy. The valid value is AccessTimeTracking. This field is currently read only
- tracking_
granularity_ intin_ days - The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1
- enable Boolean
- When set to true last access time based tracking is enabled.
- blob
Type List<String> - An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only
- name String
- Name of the policy. The valid value is AccessTimeTracking. This field is currently read only
- tracking
Granularity NumberIn Days - The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1
RestorePolicyPropertiesResponse
- Enabled bool
- Blob restore is enabled if set to true.
- Last
Enabled stringTime - Deprecated in favor of minRestoreTime property.
- Min
Restore stringTime - 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.
- Last
Enabled stringTime - Deprecated in favor of minRestoreTime property.
- Min
Restore stringTime - 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.
- last
Enabled StringTime - Deprecated in favor of minRestoreTime property.
- min
Restore StringTime - Returns the minimum date and time that the restore can be started.
- days Integer
- 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.
- last
Enabled stringTime - Deprecated in favor of minRestoreTime property.
- min
Restore stringTime - 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_ strtime - Deprecated in favor of minRestoreTime property.
- min_
restore_ strtime - 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.
- last
Enabled StringTime - Deprecated in favor of minRestoreTime property.
- min
Restore StringTime - 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.
SkuResponse
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi