azure-native-v2.documentdb.getSqlResourceSqlUserDefinedFunction
Explore with Pulumi AI
Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. Azure REST API version: 2023-04-15.
Other available API versions: 2023-03-15-preview, 2023-09-15, 2023-09-15-preview, 2023-11-15, 2023-11-15-preview, 2024-02-15-preview, 2024-05-15, 2024-05-15-preview, 2024-08-15, 2024-09-01-preview, 2024-11-15, 2024-12-01-preview.
Using getSqlResourceSqlUserDefinedFunction
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 getSqlResourceSqlUserDefinedFunction(args: GetSqlResourceSqlUserDefinedFunctionArgs, opts?: InvokeOptions): Promise<GetSqlResourceSqlUserDefinedFunctionResult>
function getSqlResourceSqlUserDefinedFunctionOutput(args: GetSqlResourceSqlUserDefinedFunctionOutputArgs, opts?: InvokeOptions): Output<GetSqlResourceSqlUserDefinedFunctionResult>
def get_sql_resource_sql_user_defined_function(account_name: Optional[str] = None,
container_name: Optional[str] = None,
database_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
user_defined_function_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSqlResourceSqlUserDefinedFunctionResult
def get_sql_resource_sql_user_defined_function_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,
user_defined_function_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSqlResourceSqlUserDefinedFunctionResult]
func LookupSqlResourceSqlUserDefinedFunction(ctx *Context, args *LookupSqlResourceSqlUserDefinedFunctionArgs, opts ...InvokeOption) (*LookupSqlResourceSqlUserDefinedFunctionResult, error)
func LookupSqlResourceSqlUserDefinedFunctionOutput(ctx *Context, args *LookupSqlResourceSqlUserDefinedFunctionOutputArgs, opts ...InvokeOption) LookupSqlResourceSqlUserDefinedFunctionResultOutput
> Note: This function is named LookupSqlResourceSqlUserDefinedFunction
in the Go SDK.
public static class GetSqlResourceSqlUserDefinedFunction
{
public static Task<GetSqlResourceSqlUserDefinedFunctionResult> InvokeAsync(GetSqlResourceSqlUserDefinedFunctionArgs args, InvokeOptions? opts = null)
public static Output<GetSqlResourceSqlUserDefinedFunctionResult> Invoke(GetSqlResourceSqlUserDefinedFunctionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSqlResourceSqlUserDefinedFunctionResult> getSqlResourceSqlUserDefinedFunction(GetSqlResourceSqlUserDefinedFunctionArgs args, InvokeOptions options)
public static Output<GetSqlResourceSqlUserDefinedFunctionResult> getSqlResourceSqlUserDefinedFunction(GetSqlResourceSqlUserDefinedFunctionArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:documentdb:getSqlResourceSqlUserDefinedFunction
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB database account name.
- Container
Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB container name.
- Database
Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB database name.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- User
Defined Function Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB userDefinedFunction name.
- Account
Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB database account name.
- Container
Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB container name.
- Database
Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB database name.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- User
Defined Function Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB userDefinedFunction name.
- account
Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB database account name.
- container
Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB container name.
- database
Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB database name.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- user
Defined Function Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB userDefinedFunction name.
- account
Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB database account name.
- container
Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB container name.
- database
Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB database name.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- user
Defined Function Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB userDefinedFunction name.
- account_
name This property is required. Changes to this property will trigger replacement.
- Cosmos DB database account name.
- container_
name This property is required. Changes to this property will trigger replacement.
- Cosmos DB container name.
- database_
name This property is required. Changes to this property will trigger replacement.
- Cosmos DB database name.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- user_
defined_ function_ name This property is required. Changes to this property will trigger replacement.
- Cosmos DB userDefinedFunction name.
- account
Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB database account name.
- container
Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB container name.
- database
Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB database name.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- user
Defined Function Name This property is required. Changes to this property will trigger replacement.
- Cosmos DB userDefinedFunction name.
getSqlResourceSqlUserDefinedFunction 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 User Defined Function 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
User Defined Function 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
User Defined Function 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
User Defined Function 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
User Defined Function 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
SqlUserDefinedFunctionGetPropertiesResponseResource
- Etag
This property is required. string - A system generated property representing the resource etag required for optimistic concurrency control.
- Id
This property is required. string - Name of the Cosmos DB SQL userDefinedFunction
- Rid
This property is required. string - A system generated property. A unique identifier.
- Ts
This property is required. double - A system generated property that denotes the last updated timestamp of the resource.
- Body string
- Body of the User Defined Function
- Etag
This property is required. string - A system generated property representing the resource etag required for optimistic concurrency control.
- Id
This property is required. string - Name of the Cosmos DB SQL userDefinedFunction
- Rid
This property is required. string - A system generated property. A unique identifier.
- Ts
This property is required. float64 - A system generated property that denotes the last updated timestamp of the resource.
- Body string
- Body of the User Defined Function
- etag
This property is required. String - A system generated property representing the resource etag required for optimistic concurrency control.
- id
This property is required. String - Name of the Cosmos DB SQL userDefinedFunction
- rid
This property is required. String - A system generated property. A unique identifier.
- ts
This property is required. Double - A system generated property that denotes the last updated timestamp of the resource.
- body String
- Body of the User Defined Function
- etag
This property is required. string - A system generated property representing the resource etag required for optimistic concurrency control.
- id
This property is required. string - Name of the Cosmos DB SQL userDefinedFunction
- rid
This property is required. string - A system generated property. A unique identifier.
- ts
This property is required. number - A system generated property that denotes the last updated timestamp of the resource.
- body string
- Body of the User Defined Function
- etag
This property is required. str - A system generated property representing the resource etag required for optimistic concurrency control.
- id
This property is required. str - Name of the Cosmos DB SQL userDefinedFunction
- rid
This property is required. str - A system generated property. A unique identifier.
- ts
This property is required. float - A system generated property that denotes the last updated timestamp of the resource.
- body str
- Body of the User Defined Function
- etag
This property is required. String - A system generated property representing the resource etag required for optimistic concurrency control.
- id
This property is required. String - Name of the Cosmos DB SQL userDefinedFunction
- rid
This property is required. String - A system generated property. A unique identifier.
- ts
This property is required. Number - A system generated property that denotes the last updated timestamp of the resource.
- body String
- Body of the User Defined Function
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0