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.getTableServiceProperties
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 Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. API Version: 2021-02-01.
Using getTableServiceProperties
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 getTableServiceProperties(args: GetTableServicePropertiesArgs, opts?: InvokeOptions): Promise<GetTableServicePropertiesResult>
function getTableServicePropertiesOutput(args: GetTableServicePropertiesOutputArgs, opts?: InvokeOptions): Output<GetTableServicePropertiesResult>
def get_table_service_properties(account_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
table_service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTableServicePropertiesResult
def get_table_service_properties_output(account_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
table_service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTableServicePropertiesResult]
func LookupTableServiceProperties(ctx *Context, args *LookupTableServicePropertiesArgs, opts ...InvokeOption) (*LookupTableServicePropertiesResult, error)
func LookupTableServicePropertiesOutput(ctx *Context, args *LookupTableServicePropertiesOutputArgs, opts ...InvokeOption) LookupTableServicePropertiesResultOutput
> Note: This function is named LookupTableServiceProperties
in the Go SDK.
public static class GetTableServiceProperties
{
public static Task<GetTableServicePropertiesResult> InvokeAsync(GetTableServicePropertiesArgs args, InvokeOptions? opts = null)
public static Output<GetTableServicePropertiesResult> Invoke(GetTableServicePropertiesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTableServicePropertiesResult> getTableServiceProperties(GetTableServicePropertiesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:storage:getTableServiceProperties
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.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Table
Service stringName - The name of the Table Service within the specified storage account. Table Service Name must be 'default'
- 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.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Table
Service stringName - The name of the Table Service within the specified storage account. Table Service Name must be 'default'
- 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.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- table
Service StringName - The name of the Table Service within the specified storage account. Table Service Name must be 'default'
- 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.
- resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- table
Service stringName - The name of the Table Service within the specified storage account. Table Service Name must be 'default'
- 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_ strname - The name of the resource group within the user's subscription. The name is case insensitive.
- table_
service_ strname - The name of the Table Service within the specified storage account. Table Service Name must be 'default'
- 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.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- table
Service StringName - The name of the Table Service within the specified storage account. Table Service Name must be 'default'
getTableServiceProperties 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
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Cors
Pulumi.
Azure Native. Storage. Outputs. Cors Rules Response - Specifies CORS rules for the Table 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 Table service.
- 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
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Cors
Cors
Rules Response - Specifies CORS rules for the Table 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 Table service.
- 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
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- cors
Cors
Rules Response - Specifies CORS rules for the Table 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 Table service.
- 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
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- cors
Cors
Rules Response - Specifies CORS rules for the Table 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 Table service.
- 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
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- cors
Cors
Rules Response - Specifies CORS rules for the Table 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 Table service.
- 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
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- cors Property Map
- Specifies CORS rules for the Table 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 Table service.
Supporting Types
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.
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