This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.cognitiveservices.getDeployment
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Gets the specified deployments associated with the Cognitive Services account. 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.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:cognitiveservices:getDeployment
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name string - The name of Cognitive Services account.
- Deployment
Name string - The name of the deployment associated with the Cognitive Services Account
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Account
Name string - The name of Cognitive Services account.
- Deployment
Name string - The name of the deployment associated with the Cognitive Services Account
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- account
Name String - The name of Cognitive Services account.
- deployment
Name String - The name of the deployment associated with the Cognitive Services Account
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- account
Name string - The name of Cognitive Services account.
- deployment
Name string - The name of the deployment associated with the Cognitive Services Account
- resource
Group 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.
- account
Name String - The name of Cognitive Services account.
- deployment
Name String - The name of the deployment associated with the Cognitive Services Account
- resource
Group 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.
- System
Data 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
Deployment
Properties Response - Properties of Cognitive Services account deployment.
- System
Data 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
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
Deployment
Properties Response - Properties of Cognitive Services account deployment.
- system
Data 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
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
Deployment
Properties Response - Properties of Cognitive Services account deployment.
- system
Data 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
Sku
Response - 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
Deployment
Properties 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
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 Property Map
- Properties of Cognitive Services account deployment.
- system
Data 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.
- Renewal
Period 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.
- Renewal
Period float64 - The renewal period in seconds of Call Rate Limit.
- Rules
[]Throttling
Rule Response
- count Double
- The count value of Call Rate Limit.
- renewal
Period Double - The renewal period in seconds of Call Rate Limit.
- rules
List<Throttling
Rule Response>
- count number
- The count value of Call Rate Limit.
- renewal
Period number - The renewal period in seconds of Call Rate Limit.
- rules
Throttling
Rule Response[]
- count float
- The count value of Call Rate Limit.
- renewal_
period float - The renewal period in seconds of Call Rate Limit.
- rules
Sequence[Throttling
Rule Response]
- count Number
- The count value of Call Rate Limit.
- renewal
Period Number - The renewal period in seconds of Call Rate Limit.
- rules List<Property Map>
DeploymentModelResponse
- Call
Rate 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.
- Call
Rate 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 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 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.
- call
Rate 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
- Call
Rate Pulumi.Limit Azure Native. Cognitive Services. Inputs. Call Rate Limit Response - The call rate limit Cognitive Services account.
- Capabilities Dictionary<string, string>
- The capabilities.
- Provisioning
State string - Gets the status of the resource at the time the operation was called.
- Rate
Limits 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.
- Rai
Policy stringName - The name of RAI policy.
- Scale
Settings Pulumi.Azure Native. Cognitive Services. Inputs. Deployment Scale Settings Response - Properties of Cognitive Services account deployment model.
- Version
Upgrade stringOption - Deployment model version upgrade option.
- Call
Rate CallLimit Rate Limit Response - The call rate limit Cognitive Services account.
- Capabilities map[string]string
- The capabilities.
- Provisioning
State string - Gets the status of the resource at the time the operation was called.
- Rate
Limits []ThrottlingRule Response - Model
Deployment
Model Response - Properties of Cognitive Services account deployment model.
- Rai
Policy stringName - The name of RAI policy.
- Scale
Settings DeploymentScale Settings Response - Properties of Cognitive Services account deployment model.
- Version
Upgrade stringOption - Deployment model version upgrade option.
- call
Rate CallLimit Rate Limit Response - The call rate limit Cognitive Services account.
- capabilities Map<String,String>
- The capabilities.
- provisioning
State String - Gets the status of the resource at the time the operation was called.
- rate
Limits List<ThrottlingRule Response> - model
Deployment
Model Response - Properties of Cognitive Services account deployment model.
- rai
Policy StringName - The name of RAI policy.
- scale
Settings DeploymentScale Settings Response - Properties of Cognitive Services account deployment model.
- version
Upgrade StringOption - Deployment model version upgrade option.
- call
Rate CallLimit Rate Limit Response - The call rate limit Cognitive Services account.
- capabilities {[key: string]: string}
- The capabilities.
- provisioning
State string - Gets the status of the resource at the time the operation was called.
- rate
Limits ThrottlingRule Response[] - model
Deployment
Model Response - Properties of Cognitive Services account deployment model.
- rai
Policy stringName - The name of RAI policy.
- scale
Settings DeploymentScale Settings Response - Properties of Cognitive Services account deployment model.
- version
Upgrade 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
Deployment
Model 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.
- call
Rate Property MapLimit - The call rate limit Cognitive Services account.
- capabilities Map<String>
- The capabilities.
- provisioning
State String - Gets the status of the resource at the time the operation was called.
- rate
Limits List<Property Map> - model Property Map
- Properties of Cognitive Services account deployment model.
- rai
Policy StringName - The name of RAI policy.
- scale
Settings Property Map - Properties of Cognitive Services account deployment model.
- version
Upgrade StringOption - Deployment model version upgrade option.
DeploymentScaleSettingsResponse
- Active
Capacity int - Deployment active capacity. This value might be different from
capacity
if customer recently updatedcapacity
. - Capacity int
- Deployment capacity.
- Scale
Type string - Deployment scale type.
- Active
Capacity int - Deployment active capacity. This value might be different from
capacity
if customer recently updatedcapacity
. - Capacity int
- Deployment capacity.
- Scale
Type string - Deployment scale type.
- active
Capacity Integer - Deployment active capacity. This value might be different from
capacity
if customer recently updatedcapacity
. - capacity Integer
- Deployment capacity.
- scale
Type String - Deployment scale type.
- active
Capacity number - Deployment active capacity. This value might be different from
capacity
if customer recently updatedcapacity
. - capacity number
- Deployment capacity.
- scale
Type string - Deployment scale type.
- active_
capacity int - Deployment active capacity. This value might be different from
capacity
if customer recently updatedcapacity
. - capacity int
- Deployment capacity.
- scale_
type str - Deployment scale type.
- active
Capacity Number - Deployment active capacity. This value might be different from
capacity
if customer recently updatedcapacity
. - capacity Number
- Deployment capacity.
- scale
Type 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
ThrottlingRuleResponse
- Count float64
- Dynamic
Throttling boolEnabled - Key string
- Match
Patterns []RequestMatch Pattern Response - Min
Count float64 - Renewal
Period float64
- count Double
- dynamic
Throttling BooleanEnabled - key String
- match
Patterns List<RequestMatch Pattern Response> - min
Count Double - renewal
Period Double
- count number
- dynamic
Throttling booleanEnabled - key string
- match
Patterns RequestMatch Pattern Response[] - min
Count number - renewal
Period number
- count float
- dynamic_
throttling_ boolenabled - key str
- match_
patterns Sequence[RequestMatch Pattern Response] - min_
count float - renewal_
period float
- count Number
- dynamic
Throttling BooleanEnabled - key String
- match
Patterns List<Property Map> - min
Count Number - renewal
Period 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 v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi