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

GetTableServiceProperties

Using GetTableServiceProperties

function getTableServiceProperties(args: GetTableServicePropertiesArgs, opts?: InvokeOptions): Promise<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
func LookupTableServiceProperties(ctx *Context, args *LookupTableServicePropertiesArgs, opts ...InvokeOption) (*LookupTableServicePropertiesResult, error)

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

public static class GetTableServiceProperties {
    public static Task<GetTableServicePropertiesResult> InvokeAsync(GetTableServicePropertiesArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

AccountName string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
ResourceGroupName string
The name of the resource group within the user’s subscription. The name is case insensitive.
TableServiceName string
The name of the Table Service within the specified storage account. Table Service Name must be ‘default’
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.
TableServiceName string
The name of the Table Service within the specified storage account. Table Service Name must be ‘default’
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.
tableServiceName string
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_name str
The name of the resource group within the user’s subscription. The name is case insensitive.
table_service_name str
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.AzureNextGen.Storage.Outputs.CorsRulesResponse
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 CorsRulesResponse
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 CorsRulesResponse
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 CorsRulesResponse
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

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

CorsRulesResponse

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

Package Details

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