GetFileServiceProperties
Using GetFileServiceProperties
function getFileServiceProperties(args: GetFileServicePropertiesArgs, opts?: InvokeOptions): Promise<GetFileServicePropertiesResult>
def get_file_service_properties(account_name: Optional[str] = None, file_services_name: Optional[str] = None, resource_group_name: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetFileServicePropertiesResult
func LookupFileServiceProperties(ctx *Context, args *LookupFileServicePropertiesArgs, opts ...InvokeOption) (*LookupFileServicePropertiesResult, error)
Note: This function is named
LookupFileServiceProperties
in the Go SDK.
public static class GetFileServiceProperties {
public static Task<GetFileServicePropertiesResult> InvokeAsync(GetFileServicePropertiesArgs args, InvokeOptions? opts = null)
}
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.
- File
Services stringName - The name of the file Service within the specified storage account. File 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.
- File
Services stringName - The name of the file Service within the specified storage account. File 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.
- file
Services stringName - The name of the file Service within the specified storage account. File 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.
- file_
services_ strname - The name of the file Service within the specified storage account. File Service Name must be “default”
- resource_
group_ strname - The name of the resource group within the user’s subscription. The name is case insensitive.
GetFileServiceProperties 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 Next Gen. Storage. Outputs. Sku Response - Sku name and tier.
- Type string
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- Cors
Pulumi.
Azure Next Gen. Storage. Outputs. Cors Rules Response - Specifies CORS rules for the File 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 File service.
- Pulumi.
Azure Next Gen. Storage. Outputs. Delete Retention Policy Response - The file service properties for share soft delete.
- 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”
- Cors
Cors
Rules Response - Specifies CORS rules for the File 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 File service.
- Delete
Retention Policy Response - The file service properties for share soft delete.
- 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”
- cors
Cors
Rules Response - Specifies CORS rules for the File 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 File service.
- Delete
Retention Policy Response - The file service properties for share soft delete.
- 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”
- cors
Cors
Rules Response - Specifies CORS rules for the File 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 File service.
- Delete
Retention Policy Response - The file service properties for share soft delete.
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 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.
CorsRulesResponse
- Cors
Rules List<Pulumi.Azure Next Gen. Storage. Inputs. Cors Rule Response Args> - 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 CorsRule Response[] - The List of CORS rules. You can include up to five CorsRule elements in the request.
- cors_
rules Sequence[CorsRule Response Args] - The List of CORS rules. You can include up to five CorsRule elements in the request.
DeleteRetentionPolicyResponse
SkuResponse
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure-nextgen
- License
- Apache-2.0