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.documentdb.getSqlResourceSqlStoredProcedure
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 SQL storedProcedure under an existing Azure Cosmos DB database account. API Version: 2021-03-15.
Using getSqlResourceSqlStoredProcedure
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 getSqlResourceSqlStoredProcedure(args: GetSqlResourceSqlStoredProcedureArgs, opts?: InvokeOptions): Promise<GetSqlResourceSqlStoredProcedureResult>
function getSqlResourceSqlStoredProcedureOutput(args: GetSqlResourceSqlStoredProcedureOutputArgs, opts?: InvokeOptions): Output<GetSqlResourceSqlStoredProcedureResult>
def get_sql_resource_sql_stored_procedure(account_name: Optional[str] = None,
container_name: Optional[str] = None,
database_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
stored_procedure_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSqlResourceSqlStoredProcedureResult
def get_sql_resource_sql_stored_procedure_output(account_name: Optional[pulumi.Input[str]] = None,
container_name: Optional[pulumi.Input[str]] = None,
database_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
stored_procedure_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSqlResourceSqlStoredProcedureResult]
func LookupSqlResourceSqlStoredProcedure(ctx *Context, args *LookupSqlResourceSqlStoredProcedureArgs, opts ...InvokeOption) (*LookupSqlResourceSqlStoredProcedureResult, error)
func LookupSqlResourceSqlStoredProcedureOutput(ctx *Context, args *LookupSqlResourceSqlStoredProcedureOutputArgs, opts ...InvokeOption) LookupSqlResourceSqlStoredProcedureResultOutput
> Note: This function is named LookupSqlResourceSqlStoredProcedure
in the Go SDK.
public static class GetSqlResourceSqlStoredProcedure
{
public static Task<GetSqlResourceSqlStoredProcedureResult> InvokeAsync(GetSqlResourceSqlStoredProcedureArgs args, InvokeOptions? opts = null)
public static Output<GetSqlResourceSqlStoredProcedureResult> Invoke(GetSqlResourceSqlStoredProcedureInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSqlResourceSqlStoredProcedureResult> getSqlResourceSqlStoredProcedure(GetSqlResourceSqlStoredProcedureArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:documentdb:getSqlResourceSqlStoredProcedure
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name string - Cosmos DB database account name.
- Container
Name string - Cosmos DB container name.
- Database
Name string - Cosmos DB database name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Stored
Procedure stringName - Cosmos DB storedProcedure name.
- Account
Name string - Cosmos DB database account name.
- Container
Name string - Cosmos DB container name.
- Database
Name string - Cosmos DB database name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Stored
Procedure stringName - Cosmos DB storedProcedure name.
- account
Name String - Cosmos DB database account name.
- container
Name String - Cosmos DB container name.
- database
Name String - Cosmos DB database name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- stored
Procedure StringName - Cosmos DB storedProcedure name.
- account
Name string - Cosmos DB database account name.
- container
Name string - Cosmos DB container name.
- database
Name string - Cosmos DB database name.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- stored
Procedure stringName - Cosmos DB storedProcedure name.
- account_
name str - Cosmos DB database account name.
- container_
name str - Cosmos DB container name.
- database_
name str - Cosmos DB database name.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- stored_
procedure_ strname - Cosmos DB storedProcedure name.
- account
Name String - Cosmos DB database account name.
- container
Name String - Cosmos DB container name.
- database
Name String - Cosmos DB database name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- stored
Procedure StringName - Cosmos DB storedProcedure name.
getSqlResourceSqlStoredProcedure Result
The following output properties are available:
- Id string
- The unique resource identifier of the ARM resource.
- Name string
- The name of the ARM resource.
- Type string
- The type of Azure resource.
- Location string
- The location of the resource group to which the resource belongs.
- Resource
Pulumi.
Azure Native. Document DB. Outputs. Sql Stored Procedure Get Properties Response Resource - Dictionary<string, string>
- Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
- Id string
- The unique resource identifier of the ARM resource.
- Name string
- The name of the ARM resource.
- Type string
- The type of Azure resource.
- Location string
- The location of the resource group to which the resource belongs.
- Resource
Sql
Stored Procedure Get Properties Response Resource - map[string]string
- Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
- id String
- The unique resource identifier of the ARM resource.
- name String
- The name of the ARM resource.
- type String
- The type of Azure resource.
- location String
- The location of the resource group to which the resource belongs.
- resource
Sql
Stored Procedure Get Properties Response Resource - Map<String,String>
- Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
- id string
- The unique resource identifier of the ARM resource.
- name string
- The name of the ARM resource.
- type string
- The type of Azure resource.
- location string
- The location of the resource group to which the resource belongs.
- resource
Sql
Stored Procedure Get Properties Response Resource - {[key: string]: string}
- Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
- id str
- The unique resource identifier of the ARM resource.
- name str
- The name of the ARM resource.
- type str
- The type of Azure resource.
- location str
- The location of the resource group to which the resource belongs.
- resource
Sql
Stored Procedure Get Properties Response Resource - Mapping[str, str]
- Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
- id String
- The unique resource identifier of the ARM resource.
- name String
- The name of the ARM resource.
- type String
- The type of Azure resource.
- location String
- The location of the resource group to which the resource belongs.
- resource Property Map
- Map<String>
- Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
Supporting Types
SqlStoredProcedureGetPropertiesResponseResource
- Etag string
- A system generated property representing the resource etag required for optimistic concurrency control.
- Id string
- Name of the Cosmos DB SQL storedProcedure
- Rid string
- A system generated property. A unique identifier.
- Ts double
- A system generated property that denotes the last updated timestamp of the resource.
- Body string
- Body of the Stored Procedure
- Etag string
- A system generated property representing the resource etag required for optimistic concurrency control.
- Id string
- Name of the Cosmos DB SQL storedProcedure
- Rid string
- A system generated property. A unique identifier.
- Ts float64
- A system generated property that denotes the last updated timestamp of the resource.
- Body string
- Body of the Stored Procedure
- etag String
- A system generated property representing the resource etag required for optimistic concurrency control.
- id String
- Name of the Cosmos DB SQL storedProcedure
- rid String
- A system generated property. A unique identifier.
- ts Double
- A system generated property that denotes the last updated timestamp of the resource.
- body String
- Body of the Stored Procedure
- etag string
- A system generated property representing the resource etag required for optimistic concurrency control.
- id string
- Name of the Cosmos DB SQL storedProcedure
- rid string
- A system generated property. A unique identifier.
- ts number
- A system generated property that denotes the last updated timestamp of the resource.
- body string
- Body of the Stored Procedure
- etag str
- A system generated property representing the resource etag required for optimistic concurrency control.
- id str
- Name of the Cosmos DB SQL storedProcedure
- rid str
- A system generated property. A unique identifier.
- ts float
- A system generated property that denotes the last updated timestamp of the resource.
- body str
- Body of the Stored Procedure
- etag String
- A system generated property representing the resource etag required for optimistic concurrency control.
- id String
- Name of the Cosmos DB SQL storedProcedure
- rid String
- A system generated property. A unique identifier.
- ts Number
- A system generated property that denotes the last updated timestamp of the resource.
- body String
- Body of the Stored Procedure
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