Azure Native

v1.80.0 published on Tuesday, Oct 4, 2022 by Pulumi

BlobServiceProperties

The properties of a storage account’s Blob service. API Version: 2021-02-01.

Example Usage

BlobServicesPutLastAccessTimeBasedTracking

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var blobServiceProperties = new AzureNative.Storage.BlobServiceProperties("blobServiceProperties", new()
    {
        AccountName = "sto8607",
        BlobServicesName = "default",
        LastAccessTimeTrackingPolicy = new AzureNative.Storage.Inputs.LastAccessTimeTrackingPolicyArgs
        {
            BlobType = new[]
            {
                "blockBlob",
            },
            Enable = true,
            Name = "AccessTimeTracking",
            TrackingGranularityInDays = 1,
        },
        ResourceGroupName = "res4410",
    });

});
package main

import (
	storage "github.com/pulumi/pulumi-azure-native/sdk/go/azure/storage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storage.NewBlobServiceProperties(ctx, "blobServiceProperties", &storage.BlobServicePropertiesArgs{
			AccountName:      pulumi.String("sto8607"),
			BlobServicesName: pulumi.String("default"),
			LastAccessTimeTrackingPolicy: &storage.LastAccessTimeTrackingPolicyArgs{
				BlobType: pulumi.StringArray{
					pulumi.String("blockBlob"),
				},
				Enable:                    pulumi.Bool(true),
				Name:                      pulumi.String("AccessTimeTracking"),
				TrackingGranularityInDays: pulumi.Int(1),
			},
			ResourceGroupName: pulumi.String("res4410"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storage.BlobServiceProperties;
import com.pulumi.azurenative.storage.BlobServicePropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var blobServiceProperties = new BlobServiceProperties("blobServiceProperties", BlobServicePropertiesArgs.builder()        
            .accountName("sto8607")
            .blobServicesName("default")
            .lastAccessTimeTrackingPolicy(Map.ofEntries(
                Map.entry("blobType", "blockBlob"),
                Map.entry("enable", true),
                Map.entry("name", "AccessTimeTracking"),
                Map.entry("trackingGranularityInDays", 1)
            ))
            .resourceGroupName("res4410")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

blob_service_properties = azure_native.storage.BlobServiceProperties("blobServiceProperties",
    account_name="sto8607",
    blob_services_name="default",
    last_access_time_tracking_policy=azure_native.storage.LastAccessTimeTrackingPolicyArgs(
        blob_type=["blockBlob"],
        enable=True,
        name="AccessTimeTracking",
        tracking_granularity_in_days=1,
    ),
    resource_group_name="res4410")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const blobServiceProperties = new azure_native.storage.BlobServiceProperties("blobServiceProperties", {
    accountName: "sto8607",
    blobServicesName: "default",
    lastAccessTimeTrackingPolicy: {
        blobType: ["blockBlob"],
        enable: true,
        name: "AccessTimeTracking",
        trackingGranularityInDays: 1,
    },
    resourceGroupName: "res4410",
});
resources:
  blobServiceProperties:
    type: azure-native:storage:BlobServiceProperties
    properties:
      accountName: sto8607
      blobServicesName: default
      lastAccessTimeTrackingPolicy:
        blobType:
          - blockBlob
        enable: true
        name: AccessTimeTracking
        trackingGranularityInDays: 1
      resourceGroupName: res4410

PutBlobServices

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var blobServiceProperties = new AzureNative.Storage.BlobServiceProperties("blobServiceProperties", new()
    {
        AccountName = "sto8607",
        BlobServicesName = "default",
        ChangeFeed = new AzureNative.Storage.Inputs.ChangeFeedArgs
        {
            Enabled = true,
            RetentionInDays = 7,
        },
        Cors = new AzureNative.Storage.Inputs.CorsRulesArgs
        {
            CorsRules = new[]
            {
                new AzureNative.Storage.Inputs.CorsRuleArgs
                {
                    AllowedHeaders = new[]
                    {
                        "x-ms-meta-abc",
                        "x-ms-meta-data*",
                        "x-ms-meta-target*",
                    },
                    AllowedMethods = new[]
                    {
                        "GET",
                        "HEAD",
                        "POST",
                        "OPTIONS",
                        "MERGE",
                        "PUT",
                    },
                    AllowedOrigins = new[]
                    {
                        "http://www.contoso.com",
                        "http://www.fabrikam.com",
                    },
                    ExposedHeaders = new[]
                    {
                        "x-ms-meta-*",
                    },
                    MaxAgeInSeconds = 100,
                },
                new AzureNative.Storage.Inputs.CorsRuleArgs
                {
                    AllowedHeaders = new[]
                    {
                        "*",
                    },
                    AllowedMethods = new[]
                    {
                        "GET",
                    },
                    AllowedOrigins = new[]
                    {
                        "*",
                    },
                    ExposedHeaders = new[]
                    {
                        "*",
                    },
                    MaxAgeInSeconds = 2,
                },
                new AzureNative.Storage.Inputs.CorsRuleArgs
                {
                    AllowedHeaders = new[]
                    {
                        "x-ms-meta-12345675754564*",
                    },
                    AllowedMethods = new[]
                    {
                        "GET",
                        "PUT",
                    },
                    AllowedOrigins = new[]
                    {
                        "http://www.abc23.com",
                        "https://www.fabrikam.com/*",
                    },
                    ExposedHeaders = new[]
                    {
                        "x-ms-meta-abc",
                        "x-ms-meta-data*",
                        "x -ms-meta-target*",
                    },
                    MaxAgeInSeconds = 2000,
                },
            },
        },
        DefaultServiceVersion = "2017-07-29",
        DeleteRetentionPolicy = new AzureNative.Storage.Inputs.DeleteRetentionPolicyArgs
        {
            Days = 300,
            Enabled = true,
        },
        IsVersioningEnabled = true,
        ResourceGroupName = "res4410",
    });

});
package main

import (
	storage "github.com/pulumi/pulumi-azure-native/sdk/go/azure/storage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storage.NewBlobServiceProperties(ctx, "blobServiceProperties", &storage.BlobServicePropertiesArgs{
			AccountName:      pulumi.String("sto8607"),
			BlobServicesName: pulumi.String("default"),
			ChangeFeed: &storage.ChangeFeedArgs{
				Enabled:         pulumi.Bool(true),
				RetentionInDays: pulumi.Int(7),
			},
			Cors: &storage.CorsRulesArgs{
				CorsRules: storage.CorsRuleArray{
					&storage.CorsRuleArgs{
						AllowedHeaders: pulumi.StringArray{
							pulumi.String("x-ms-meta-abc"),
							pulumi.String("x-ms-meta-data*"),
							pulumi.String("x-ms-meta-target*"),
						},
						AllowedMethods: pulumi.StringArray{
							pulumi.String("GET"),
							pulumi.String("HEAD"),
							pulumi.String("POST"),
							pulumi.String("OPTIONS"),
							pulumi.String("MERGE"),
							pulumi.String("PUT"),
						},
						AllowedOrigins: pulumi.StringArray{
							pulumi.String("http://www.contoso.com"),
							pulumi.String("http://www.fabrikam.com"),
						},
						ExposedHeaders: pulumi.StringArray{
							pulumi.String("x-ms-meta-*"),
						},
						MaxAgeInSeconds: pulumi.Int(100),
					},
					&storage.CorsRuleArgs{
						AllowedHeaders: pulumi.StringArray{
							pulumi.String("*"),
						},
						AllowedMethods: pulumi.StringArray{
							pulumi.String("GET"),
						},
						AllowedOrigins: pulumi.StringArray{
							pulumi.String("*"),
						},
						ExposedHeaders: pulumi.StringArray{
							pulumi.String("*"),
						},
						MaxAgeInSeconds: pulumi.Int(2),
					},
					&storage.CorsRuleArgs{
						AllowedHeaders: pulumi.StringArray{
							pulumi.String("x-ms-meta-12345675754564*"),
						},
						AllowedMethods: pulumi.StringArray{
							pulumi.String("GET"),
							pulumi.String("PUT"),
						},
						AllowedOrigins: pulumi.StringArray{
							pulumi.String("http://www.abc23.com"),
							pulumi.String("https://www.fabrikam.com/*"),
						},
						ExposedHeaders: pulumi.StringArray{
							pulumi.String("x-ms-meta-abc"),
							pulumi.String("x-ms-meta-data*"),
							pulumi.String("x -ms-meta-target*"),
						},
						MaxAgeInSeconds: pulumi.Int(2000),
					},
				},
			},
			DefaultServiceVersion: pulumi.String("2017-07-29"),
			DeleteRetentionPolicy: &storage.DeleteRetentionPolicyArgs{
				Days:    pulumi.Int(300),
				Enabled: pulumi.Bool(true),
			},
			IsVersioningEnabled: pulumi.Bool(true),
			ResourceGroupName:   pulumi.String("res4410"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storage.BlobServiceProperties;
import com.pulumi.azurenative.storage.BlobServicePropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var blobServiceProperties = new BlobServiceProperties("blobServiceProperties", BlobServicePropertiesArgs.builder()        
            .accountName("sto8607")
            .blobServicesName("default")
            .changeFeed(Map.ofEntries(
                Map.entry("enabled", true),
                Map.entry("retentionInDays", 7)
            ))
            .cors(Map.of("corsRules",             
                Map.ofEntries(
                    Map.entry("allowedHeaders",                     
                        "x-ms-meta-abc",
                        "x-ms-meta-data*",
                        "x-ms-meta-target*"),
                    Map.entry("allowedMethods",                     
                        "GET",
                        "HEAD",
                        "POST",
                        "OPTIONS",
                        "MERGE",
                        "PUT"),
                    Map.entry("allowedOrigins",                     
                        "http://www.contoso.com",
                        "http://www.fabrikam.com"),
                    Map.entry("exposedHeaders", "x-ms-meta-*"),
                    Map.entry("maxAgeInSeconds", 100)
                ),
                Map.ofEntries(
                    Map.entry("allowedHeaders", "*"),
                    Map.entry("allowedMethods", "GET"),
                    Map.entry("allowedOrigins", "*"),
                    Map.entry("exposedHeaders", "*"),
                    Map.entry("maxAgeInSeconds", 2)
                ),
                Map.ofEntries(
                    Map.entry("allowedHeaders", "x-ms-meta-12345675754564*"),
                    Map.entry("allowedMethods",                     
                        "GET",
                        "PUT"),
                    Map.entry("allowedOrigins",                     
                        "http://www.abc23.com",
                        "https://www.fabrikam.com/*"),
                    Map.entry("exposedHeaders",                     
                        "x-ms-meta-abc",
                        "x-ms-meta-data*",
                        "x -ms-meta-target*"),
                    Map.entry("maxAgeInSeconds", 2000)
                )))
            .defaultServiceVersion("2017-07-29")
            .deleteRetentionPolicy(Map.ofEntries(
                Map.entry("days", 300),
                Map.entry("enabled", true)
            ))
            .isVersioningEnabled(true)
            .resourceGroupName("res4410")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

blob_service_properties = azure_native.storage.BlobServiceProperties("blobServiceProperties",
    account_name="sto8607",
    blob_services_name="default",
    change_feed=azure_native.storage.ChangeFeedArgs(
        enabled=True,
        retention_in_days=7,
    ),
    cors=azure_native.storage.CorsRulesArgs(
        cors_rules=[
            azure_native.storage.CorsRuleArgs(
                allowed_headers=[
                    "x-ms-meta-abc",
                    "x-ms-meta-data*",
                    "x-ms-meta-target*",
                ],
                allowed_methods=[
                    "GET",
                    "HEAD",
                    "POST",
                    "OPTIONS",
                    "MERGE",
                    "PUT",
                ],
                allowed_origins=[
                    "http://www.contoso.com",
                    "http://www.fabrikam.com",
                ],
                exposed_headers=["x-ms-meta-*"],
                max_age_in_seconds=100,
            ),
            azure_native.storage.CorsRuleArgs(
                allowed_headers=["*"],
                allowed_methods=["GET"],
                allowed_origins=["*"],
                exposed_headers=["*"],
                max_age_in_seconds=2,
            ),
            azure_native.storage.CorsRuleArgs(
                allowed_headers=["x-ms-meta-12345675754564*"],
                allowed_methods=[
                    "GET",
                    "PUT",
                ],
                allowed_origins=[
                    "http://www.abc23.com",
                    "https://www.fabrikam.com/*",
                ],
                exposed_headers=[
                    "x-ms-meta-abc",
                    "x-ms-meta-data*",
                    "x -ms-meta-target*",
                ],
                max_age_in_seconds=2000,
            ),
        ],
    ),
    default_service_version="2017-07-29",
    delete_retention_policy=azure_native.storage.DeleteRetentionPolicyArgs(
        days=300,
        enabled=True,
    ),
    is_versioning_enabled=True,
    resource_group_name="res4410")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const blobServiceProperties = new azure_native.storage.BlobServiceProperties("blobServiceProperties", {
    accountName: "sto8607",
    blobServicesName: "default",
    changeFeed: {
        enabled: true,
        retentionInDays: 7,
    },
    cors: {
        corsRules: [
            {
                allowedHeaders: [
                    "x-ms-meta-abc",
                    "x-ms-meta-data*",
                    "x-ms-meta-target*",
                ],
                allowedMethods: [
                    "GET",
                    "HEAD",
                    "POST",
                    "OPTIONS",
                    "MERGE",
                    "PUT",
                ],
                allowedOrigins: [
                    "http://www.contoso.com",
                    "http://www.fabrikam.com",
                ],
                exposedHeaders: ["x-ms-meta-*"],
                maxAgeInSeconds: 100,
            },
            {
                allowedHeaders: ["*"],
                allowedMethods: ["GET"],
                allowedOrigins: ["*"],
                exposedHeaders: ["*"],
                maxAgeInSeconds: 2,
            },
            {
                allowedHeaders: ["x-ms-meta-12345675754564*"],
                allowedMethods: [
                    "GET",
                    "PUT",
                ],
                allowedOrigins: [
                    "http://www.abc23.com",
                    "https://www.fabrikam.com/*",
                ],
                exposedHeaders: [
                    "x-ms-meta-abc",
                    "x-ms-meta-data*",
                    "x -ms-meta-target*",
                ],
                maxAgeInSeconds: 2000,
            },
        ],
    },
    defaultServiceVersion: "2017-07-29",
    deleteRetentionPolicy: {
        days: 300,
        enabled: true,
    },
    isVersioningEnabled: true,
    resourceGroupName: "res4410",
});
resources:
  blobServiceProperties:
    type: azure-native:storage:BlobServiceProperties
    properties:
      accountName: sto8607
      blobServicesName: default
      changeFeed:
        enabled: true
        retentionInDays: 7
      cors:
        corsRules:
          - allowedHeaders:
              - x-ms-meta-abc
              - x-ms-meta-data*
              - x-ms-meta-target*
            allowedMethods:
              - GET
              - HEAD
              - POST
              - OPTIONS
              - MERGE
              - PUT
            allowedOrigins:
              - http://www.contoso.com
              - http://www.fabrikam.com
            exposedHeaders:
              - x-ms-meta-*
            maxAgeInSeconds: 100
          - allowedHeaders:
              - '*'
            allowedMethods:
              - GET
            allowedOrigins:
              - '*'
            exposedHeaders:
              - '*'
            maxAgeInSeconds: 2
          - allowedHeaders:
              - x-ms-meta-12345675754564*
            allowedMethods:
              - GET
              - PUT
            allowedOrigins:
              - http://www.abc23.com
              - https://www.fabrikam.com/*
            exposedHeaders:
              - x-ms-meta-abc
              - x-ms-meta-data*
              - x -ms-meta-target*
            maxAgeInSeconds: 2000
      defaultServiceVersion: 2017-07-29
      deleteRetentionPolicy:
        days: 300
        enabled: true
      isVersioningEnabled: true
      resourceGroupName: res4410

Create a BlobServiceProperties Resource

new BlobServiceProperties(name: string, args: BlobServicePropertiesArgs, opts?: CustomResourceOptions);
@overload
def BlobServiceProperties(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          account_name: Optional[str] = None,
                          automatic_snapshot_policy_enabled: Optional[bool] = None,
                          blob_services_name: Optional[str] = None,
                          change_feed: Optional[ChangeFeedArgs] = None,
                          container_delete_retention_policy: Optional[DeleteRetentionPolicyArgs] = None,
                          cors: Optional[CorsRulesArgs] = None,
                          default_service_version: Optional[str] = None,
                          delete_retention_policy: Optional[DeleteRetentionPolicyArgs] = None,
                          is_versioning_enabled: Optional[bool] = None,
                          last_access_time_tracking_policy: Optional[LastAccessTimeTrackingPolicyArgs] = None,
                          resource_group_name: Optional[str] = None,
                          restore_policy: Optional[RestorePolicyPropertiesArgs] = None)
@overload
def BlobServiceProperties(resource_name: str,
                          args: BlobServicePropertiesArgs,
                          opts: Optional[ResourceOptions] = None)
func NewBlobServiceProperties(ctx *Context, name string, args BlobServicePropertiesArgs, opts ...ResourceOption) (*BlobServiceProperties, error)
public BlobServiceProperties(string name, BlobServicePropertiesArgs args, CustomResourceOptions? opts = null)
public BlobServiceProperties(String name, BlobServicePropertiesArgs args)
public BlobServiceProperties(String name, BlobServicePropertiesArgs args, CustomResourceOptions options)
type: azure-native:storage:BlobServiceProperties
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args BlobServicePropertiesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args BlobServicePropertiesArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args BlobServicePropertiesArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args BlobServicePropertiesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args BlobServicePropertiesArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

BlobServiceProperties Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The BlobServiceProperties resource accepts the following input properties:

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.

ResourceGroupName string

The name of the resource group within the user's subscription. The name is case insensitive.

AutomaticSnapshotPolicyEnabled bool

Deprecated in favor of isVersioningEnabled property.

BlobServicesName string

The name of the blob Service within the specified storage account. Blob Service Name must be 'default'

ChangeFeed Pulumi.AzureNative.Storage.Inputs.ChangeFeedArgs

The blob service properties for change feed events.

ContainerDeleteRetentionPolicy Pulumi.AzureNative.Storage.Inputs.DeleteRetentionPolicyArgs

The blob service properties for container soft delete.

Cors Pulumi.AzureNative.Storage.Inputs.CorsRulesArgs

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.AzureNative.Storage.Inputs.DeleteRetentionPolicyArgs

The blob service properties for blob soft delete.

IsVersioningEnabled bool

Versioning is enabled if set to true.

LastAccessTimeTrackingPolicy Pulumi.AzureNative.Storage.Inputs.LastAccessTimeTrackingPolicyArgs

The blob service property to configure last access time based tracking policy.

RestorePolicy Pulumi.AzureNative.Storage.Inputs.RestorePolicyPropertiesArgs

The blob service properties for blob restore policy.

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.

ResourceGroupName string

The name of the resource group within the user's subscription. The name is case insensitive.

AutomaticSnapshotPolicyEnabled bool

Deprecated in favor of isVersioningEnabled property.

BlobServicesName string

The name of the blob Service within the specified storage account. Blob Service Name must be 'default'

ChangeFeed ChangeFeedArgs

The blob service properties for change feed events.

ContainerDeleteRetentionPolicy DeleteRetentionPolicyArgs

The blob service properties for container soft delete.

Cors CorsRulesArgs

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 DeleteRetentionPolicyArgs

The blob service properties for blob soft delete.

IsVersioningEnabled bool

Versioning is enabled if set to true.

LastAccessTimeTrackingPolicy LastAccessTimeTrackingPolicyArgs

The blob service property to configure last access time based tracking policy.

RestorePolicy RestorePolicyPropertiesArgs

The blob service properties for blob restore policy.

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.

resourceGroupName String

The name of the resource group within the user's subscription. The name is case insensitive.

automaticSnapshotPolicyEnabled Boolean

Deprecated in favor of isVersioningEnabled property.

blobServicesName String

The name of the blob Service within the specified storage account. Blob Service Name must be 'default'

changeFeed ChangeFeedArgs

The blob service properties for change feed events.

containerDeleteRetentionPolicy DeleteRetentionPolicyArgs

The blob service properties for container soft delete.

cors CorsRulesArgs

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 DeleteRetentionPolicyArgs

The blob service properties for blob soft delete.

isVersioningEnabled Boolean

Versioning is enabled if set to true.

lastAccessTimeTrackingPolicy LastAccessTimeTrackingPolicyArgs

The blob service property to configure last access time based tracking policy.

restorePolicy RestorePolicyPropertiesArgs

The blob service properties for blob restore policy.

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.

resourceGroupName string

The name of the resource group within the user's subscription. The name is case insensitive.

automaticSnapshotPolicyEnabled boolean

Deprecated in favor of isVersioningEnabled property.

blobServicesName string

The name of the blob Service within the specified storage account. Blob Service Name must be 'default'

changeFeed ChangeFeedArgs

The blob service properties for change feed events.

containerDeleteRetentionPolicy DeleteRetentionPolicyArgs

The blob service properties for container soft delete.

cors CorsRulesArgs

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 DeleteRetentionPolicyArgs

The blob service properties for blob soft delete.

isVersioningEnabled boolean

Versioning is enabled if set to true.

lastAccessTimeTrackingPolicy LastAccessTimeTrackingPolicyArgs

The blob service property to configure last access time based tracking policy.

restorePolicy RestorePolicyPropertiesArgs

The blob service properties for blob restore policy.

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.

resource_group_name str

The name of the resource group within the user's subscription. The name is case insensitive.

automatic_snapshot_policy_enabled bool

Deprecated in favor of isVersioningEnabled property.

blob_services_name str

The name of the blob Service within the specified storage account. Blob Service Name must be 'default'

change_feed ChangeFeedArgs

The blob service properties for change feed events.

container_delete_retention_policy DeleteRetentionPolicyArgs

The blob service properties for container soft delete.

cors CorsRulesArgs

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 DeleteRetentionPolicyArgs

The blob service properties for blob soft delete.

is_versioning_enabled bool

Versioning is enabled if set to true.

last_access_time_tracking_policy LastAccessTimeTrackingPolicyArgs

The blob service property to configure last access time based tracking policy.

restore_policy RestorePolicyPropertiesArgs

The blob service properties for blob restore policy.

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.

resourceGroupName String

The name of the resource group within the user's subscription. The name is case insensitive.

automaticSnapshotPolicyEnabled Boolean

Deprecated in favor of isVersioningEnabled property.

blobServicesName String

The name of the blob Service within the specified storage account. Blob Service Name must be 'default'

changeFeed Property Map

The blob service properties for change feed events.

containerDeleteRetentionPolicy Property Map

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.

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 Property Map

The blob service properties for blob soft delete.

isVersioningEnabled Boolean

Versioning is enabled if set to true.

lastAccessTimeTrackingPolicy Property Map

The blob service property to configure last access time based tracking policy.

restorePolicy Property Map

The blob service properties for blob restore policy.

Outputs

All input properties are implicitly available as output properties. Additionally, the BlobServiceProperties resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource

Sku Pulumi.AzureNative.Storage.Outputs.SkuResponse

Sku name and tier.

Type string

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

Id string

The provider-assigned unique ID for this managed resource.

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"

id String

The provider-assigned unique ID for this managed resource.

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"

id string

The provider-assigned unique ID for this managed resource.

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"

id str

The provider-assigned unique ID for this managed resource.

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"

id String

The provider-assigned unique ID for this managed resource.

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"

Supporting Types

ChangeFeed

Enabled bool

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

RetentionInDays int

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.

RetentionInDays int

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.

retentionInDays Integer

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.

retentionInDays number

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_days int

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.

retentionInDays Number

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.

ChangeFeedResponse

Enabled bool

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

RetentionInDays int

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.

RetentionInDays int

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.

retentionInDays Integer

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.

retentionInDays number

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_days int

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.

retentionInDays Number

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.

CorsRule

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 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 Integer

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.

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 Number

Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.

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 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 Integer

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.

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 Number

Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.

CorsRules

CorsRules List<Pulumi.AzureNative.Storage.Inputs.CorsRule>

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

CorsRules []CorsRule

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

corsRules List<CorsRule>

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

corsRules CorsRule[]

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

cors_rules Sequence[CorsRule]

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

corsRules List<Property Map>

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

CorsRulesResponse

CorsRules List<Pulumi.AzureNative.Storage.Inputs.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.

corsRules List<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[CorsRuleResponse]

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

corsRules List<Property Map>

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

DeleteRetentionPolicy

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 Integer

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 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.

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.

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 Integer

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 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.

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.

LastAccessTimeTrackingPolicy

Enable bool

When set to true last access time based tracking is enabled.

BlobType List<string>

An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only

Name string | Pulumi.AzureNative.Storage.Name

Name of the policy. The valid value is AccessTimeTracking. This field is currently read only

TrackingGranularityInDays int

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.

BlobType []string

An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only

Name string | Name

Name of the policy. The valid value is AccessTimeTracking. This field is currently read only

TrackingGranularityInDays int

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.

blobType List<String>

An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only

name String | Name

Name of the policy. The valid value is AccessTimeTracking. This field is currently read only

trackingGranularityInDays Integer

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.

blobType string[]

An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only

name string | Name

Name of the policy. The valid value is AccessTimeTracking. This field is currently read only

trackingGranularityInDays number

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

Name of the policy. The valid value is AccessTimeTracking. This field is currently read only

tracking_granularity_in_days int

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.

blobType List<String>

An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only

name String | "AccessTimeTracking"

Name of the policy. The valid value is AccessTimeTracking. This field is currently read only

trackingGranularityInDays Number

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

LastAccessTimeTrackingPolicyResponse

Enable bool

When set to true last access time based tracking is enabled.

BlobType 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

TrackingGranularityInDays int

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.

BlobType []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

TrackingGranularityInDays int

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.

blobType 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

trackingGranularityInDays Integer

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.

blobType 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

trackingGranularityInDays number

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_in_days int

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.

blobType 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

trackingGranularityInDays Number

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

Name

AccessTimeTracking
AccessTimeTracking
NameAccessTimeTracking
AccessTimeTracking
AccessTimeTracking
AccessTimeTracking
AccessTimeTracking
AccessTimeTracking
ACCESS_TIME_TRACKING
AccessTimeTracking
"AccessTimeTracking"
AccessTimeTracking

RestorePolicyProperties

Enabled bool

Blob restore is enabled if set to true.

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.

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.

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.

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.

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.

days Number

how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days.

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 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.

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.

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.

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 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.

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.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:storage:BlobServiceProperties default /subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default 

Package Details

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