This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
azure-native.cognitiveservices.getDeployment
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
Gets the specified deployments associated with the Cognitive Services account.
Uses Azure REST API version 2023-05-01.
Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview, 2024-10-01, 2025-04-01-preview.
Using getDeployment
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 getDeployment(args: GetDeploymentArgs, opts?: InvokeOptions): Promise<GetDeploymentResult>
function getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: InvokeOptions): Output<GetDeploymentResult>def get_deployment(account_name: Optional[str] = None,
                   deployment_name: Optional[str] = None,
                   resource_group_name: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetDeploymentResult
def get_deployment_output(account_name: Optional[pulumi.Input[str]] = None,
                   deployment_name: Optional[pulumi.Input[str]] = None,
                   resource_group_name: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetDeploymentResult]func LookupDeployment(ctx *Context, args *LookupDeploymentArgs, opts ...InvokeOption) (*LookupDeploymentResult, error)
func LookupDeploymentOutput(ctx *Context, args *LookupDeploymentOutputArgs, opts ...InvokeOption) LookupDeploymentResultOutput> Note: This function is named LookupDeployment in the Go SDK.
public static class GetDeployment 
{
    public static Task<GetDeploymentResult> InvokeAsync(GetDeploymentArgs args, InvokeOptions? opts = null)
    public static Output<GetDeploymentResult> Invoke(GetDeploymentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDeploymentResult> getDeployment(GetDeploymentArgs args, InvokeOptions options)
public static Output<GetDeploymentResult> getDeployment(GetDeploymentArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:cognitiveservices:getDeployment
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AccountName string
- The name of Cognitive Services account.
- DeploymentName string
- The name of the deployment associated with the Cognitive Services Account
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- AccountName string
- The name of Cognitive Services account.
- DeploymentName string
- The name of the deployment associated with the Cognitive Services Account
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- accountName String
- The name of Cognitive Services account.
- deploymentName String
- The name of the deployment associated with the Cognitive Services Account
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- accountName string
- The name of Cognitive Services account.
- deploymentName string
- The name of the deployment associated with the Cognitive Services Account
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- account_name str
- The name of Cognitive Services account.
- deployment_name str
- The name of the deployment associated with the Cognitive Services Account
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- accountName String
- The name of Cognitive Services account.
- deploymentName String
- The name of the deployment associated with the Cognitive Services Account
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
getDeployment Result
The following output properties are available:
- Etag string
- Resource Etag.
- 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
- Properties
Pulumi.Azure Native. Cognitive Services. Outputs. Deployment Properties Response 
- Properties of Cognitive Services account deployment.
- SystemData Pulumi.Azure Native. Cognitive Services. Outputs. System Data Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Sku
Pulumi.Azure Native. Cognitive Services. Outputs. Sku Response 
- The resource model definition representing SKU
- Etag string
- Resource Etag.
- 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
- Properties
DeploymentProperties Response 
- Properties of Cognitive Services account deployment.
- SystemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Sku
SkuResponse 
- The resource model definition representing SKU
- etag String
- Resource Etag.
- 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
- properties
DeploymentProperties Response 
- Properties of Cognitive Services account deployment.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- sku
SkuResponse 
- The resource model definition representing SKU
- etag string
- Resource Etag.
- 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
- properties
DeploymentProperties Response 
- Properties of Cognitive Services account deployment.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- sku
SkuResponse 
- The resource model definition representing SKU
- etag str
- Resource Etag.
- 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
- properties
DeploymentProperties Response 
- Properties of Cognitive Services account deployment.
- system_data SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- sku
SkuResponse 
- The resource model definition representing SKU
- etag String
- Resource Etag.
- 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
- properties Property Map
- Properties of Cognitive Services account deployment.
- systemData Property Map
- Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- sku Property Map
- The resource model definition representing SKU
Supporting Types
CallRateLimitResponse   
- Count double
- The count value of Call Rate Limit.
- RenewalPeriod double
- The renewal period in seconds of Call Rate Limit.
- Rules
List<Pulumi.Azure Native. Cognitive Services. Inputs. Throttling Rule Response> 
- Count float64
- The count value of Call Rate Limit.
- RenewalPeriod float64
- The renewal period in seconds of Call Rate Limit.
- Rules
[]ThrottlingRule Response 
- count Double
- The count value of Call Rate Limit.
- renewalPeriod Double
- The renewal period in seconds of Call Rate Limit.
- rules
List<ThrottlingRule Response> 
- count number
- The count value of Call Rate Limit.
- renewalPeriod number
- The renewal period in seconds of Call Rate Limit.
- rules
ThrottlingRule Response[] 
- count float
- The count value of Call Rate Limit.
- renewal_period float
- The renewal period in seconds of Call Rate Limit.
- rules
Sequence[ThrottlingRule Response] 
- count Number
- The count value of Call Rate Limit.
- renewalPeriod Number
- The renewal period in seconds of Call Rate Limit.
- rules List<Property Map>
DeploymentModelResponse  
- CallRate Pulumi.Limit Azure Native. Cognitive Services. Inputs. Call Rate Limit Response 
- The call rate limit Cognitive Services account.
- Format string
- Deployment model format.
- Name string
- Deployment model name.
- Source string
- Optional. Deployment model source ARM resource ID.
- Version string
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
- CallRate CallLimit Rate Limit Response 
- The call rate limit Cognitive Services account.
- Format string
- Deployment model format.
- Name string
- Deployment model name.
- Source string
- Optional. Deployment model source ARM resource ID.
- Version string
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
- callRate CallLimit Rate Limit Response 
- The call rate limit Cognitive Services account.
- format String
- Deployment model format.
- name String
- Deployment model name.
- source String
- Optional. Deployment model source ARM resource ID.
- version String
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
- callRate CallLimit Rate Limit Response 
- The call rate limit Cognitive Services account.
- format string
- Deployment model format.
- name string
- Deployment model name.
- source string
- Optional. Deployment model source ARM resource ID.
- version string
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
- call_rate_ Calllimit Rate Limit Response 
- The call rate limit Cognitive Services account.
- format str
- Deployment model format.
- name str
- Deployment model name.
- source str
- Optional. Deployment model source ARM resource ID.
- version str
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
- callRate Property MapLimit 
- The call rate limit Cognitive Services account.
- format String
- Deployment model format.
- name String
- Deployment model name.
- source String
- Optional. Deployment model source ARM resource ID.
- version String
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
DeploymentPropertiesResponse  
- CallRate Pulumi.Limit Azure Native. Cognitive Services. Inputs. Call Rate Limit Response 
- The call rate limit Cognitive Services account.
- Capabilities Dictionary<string, string>
- The capabilities.
- ProvisioningState string
- Gets the status of the resource at the time the operation was called.
- RateLimits List<Pulumi.Azure Native. Cognitive Services. Inputs. Throttling Rule Response> 
- Model
Pulumi.Azure Native. Cognitive Services. Inputs. Deployment Model Response 
- Properties of Cognitive Services account deployment model.
- RaiPolicy stringName 
- The name of RAI policy.
- ScaleSettings Pulumi.Azure Native. Cognitive Services. Inputs. Deployment Scale Settings Response 
- Properties of Cognitive Services account deployment model.
- VersionUpgrade stringOption 
- Deployment model version upgrade option.
- CallRate CallLimit Rate Limit Response 
- The call rate limit Cognitive Services account.
- Capabilities map[string]string
- The capabilities.
- ProvisioningState string
- Gets the status of the resource at the time the operation was called.
- RateLimits []ThrottlingRule Response 
- Model
DeploymentModel Response 
- Properties of Cognitive Services account deployment model.
- RaiPolicy stringName 
- The name of RAI policy.
- ScaleSettings DeploymentScale Settings Response 
- Properties of Cognitive Services account deployment model.
- VersionUpgrade stringOption 
- Deployment model version upgrade option.
- callRate CallLimit Rate Limit Response 
- The call rate limit Cognitive Services account.
- capabilities Map<String,String>
- The capabilities.
- provisioningState String
- Gets the status of the resource at the time the operation was called.
- rateLimits List<ThrottlingRule Response> 
- model
DeploymentModel Response 
- Properties of Cognitive Services account deployment model.
- raiPolicy StringName 
- The name of RAI policy.
- scaleSettings DeploymentScale Settings Response 
- Properties of Cognitive Services account deployment model.
- versionUpgrade StringOption 
- Deployment model version upgrade option.
- callRate CallLimit Rate Limit Response 
- The call rate limit Cognitive Services account.
- capabilities {[key: string]: string}
- The capabilities.
- provisioningState string
- Gets the status of the resource at the time the operation was called.
- rateLimits ThrottlingRule Response[] 
- model
DeploymentModel Response 
- Properties of Cognitive Services account deployment model.
- raiPolicy stringName 
- The name of RAI policy.
- scaleSettings DeploymentScale Settings Response 
- Properties of Cognitive Services account deployment model.
- versionUpgrade stringOption 
- Deployment model version upgrade option.
- call_rate_ Calllimit Rate Limit Response 
- The call rate limit Cognitive Services account.
- capabilities Mapping[str, str]
- The capabilities.
- provisioning_state str
- Gets the status of the resource at the time the operation was called.
- rate_limits Sequence[ThrottlingRule Response] 
- model
DeploymentModel Response 
- Properties of Cognitive Services account deployment model.
- rai_policy_ strname 
- The name of RAI policy.
- scale_settings DeploymentScale Settings Response 
- Properties of Cognitive Services account deployment model.
- version_upgrade_ stroption 
- Deployment model version upgrade option.
- callRate Property MapLimit 
- The call rate limit Cognitive Services account.
- capabilities Map<String>
- The capabilities.
- provisioningState String
- Gets the status of the resource at the time the operation was called.
- rateLimits List<Property Map>
- model Property Map
- Properties of Cognitive Services account deployment model.
- raiPolicy StringName 
- The name of RAI policy.
- scaleSettings Property Map
- Properties of Cognitive Services account deployment model.
- versionUpgrade StringOption 
- Deployment model version upgrade option.
DeploymentScaleSettingsResponse   
- ActiveCapacity int
- Deployment active capacity. This value might be different from capacityif customer recently updatedcapacity.
- Capacity int
- Deployment capacity.
- ScaleType string
- Deployment scale type.
- ActiveCapacity int
- Deployment active capacity. This value might be different from capacityif customer recently updatedcapacity.
- Capacity int
- Deployment capacity.
- ScaleType string
- Deployment scale type.
- activeCapacity Integer
- Deployment active capacity. This value might be different from capacityif customer recently updatedcapacity.
- capacity Integer
- Deployment capacity.
- scaleType String
- Deployment scale type.
- activeCapacity number
- Deployment active capacity. This value might be different from capacityif customer recently updatedcapacity.
- capacity number
- Deployment capacity.
- scaleType string
- Deployment scale type.
- active_capacity int
- Deployment active capacity. This value might be different from capacityif customer recently updatedcapacity.
- capacity int
- Deployment capacity.
- scale_type str
- Deployment scale type.
- activeCapacity Number
- Deployment active capacity. This value might be different from capacityif customer recently updatedcapacity.
- capacity Number
- Deployment capacity.
- scaleType String
- Deployment scale type.
RequestMatchPatternResponse   
SkuResponse 
- Name string
- The name of the SKU. Ex - P3. It is typically a letter+number code
- Capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- Tier string
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- Name string
- The name of the SKU. Ex - P3. It is typically a letter+number code
- Capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- Tier string
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name String
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity Integer
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size String
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier String
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name string
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier string
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name str
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family str
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size str
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier str
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name String
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity Number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size String
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier String
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
ThrottlingRuleResponse  
- Count float64
- DynamicThrottling boolEnabled 
- Key string
- MatchPatterns []RequestMatch Pattern Response 
- MinCount float64
- RenewalPeriod float64
- count Double
- dynamicThrottling BooleanEnabled 
- key String
- matchPatterns List<RequestMatch Pattern Response> 
- minCount Double
- renewalPeriod Double
- count number
- dynamicThrottling booleanEnabled 
- key string
- matchPatterns RequestMatch Pattern Response[] 
- minCount number
- renewalPeriod number
- count float
- dynamic_throttling_ boolenabled 
- key str
- match_patterns Sequence[RequestMatch Pattern Response] 
- min_count float
- renewal_period float
- count Number
- dynamicThrottling BooleanEnabled 
- key String
- matchPatterns List<Property Map>
- minCount Number
- renewalPeriod Number
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi