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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.web.getConnection
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get a specific connection Azure REST API version: 2016-06-01.
Other available API versions: 2015-08-01-preview.
Using getConnection
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 getConnection(args: GetConnectionArgs, opts?: InvokeOptions): Promise<GetConnectionResult>
function getConnectionOutput(args: GetConnectionOutputArgs, opts?: InvokeOptions): Output<GetConnectionResult>def get_connection(connection_name: Optional[str] = None,
                   resource_group_name: Optional[str] = None,
                   subscription_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetConnectionResult
def get_connection_output(connection_name: Optional[pulumi.Input[str]] = None,
                   resource_group_name: Optional[pulumi.Input[str]] = None,
                   subscription_id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetConnectionResult]func LookupConnection(ctx *Context, args *LookupConnectionArgs, opts ...InvokeOption) (*LookupConnectionResult, error)
func LookupConnectionOutput(ctx *Context, args *LookupConnectionOutputArgs, opts ...InvokeOption) LookupConnectionResultOutput> Note: This function is named LookupConnection in the Go SDK.
public static class GetConnection 
{
    public static Task<GetConnectionResult> InvokeAsync(GetConnectionArgs args, InvokeOptions? opts = null)
    public static Output<GetConnectionResult> Invoke(GetConnectionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetConnectionResult> getConnection(GetConnectionArgs args, InvokeOptions options)
public static Output<GetConnectionResult> getConnection(GetConnectionArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:web:getConnection
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ConnectionName string
- Connection name
- ResourceGroup stringName 
- The resource group
- SubscriptionId string
- Subscription Id
- ConnectionName string
- Connection name
- ResourceGroup stringName 
- The resource group
- SubscriptionId string
- Subscription Id
- connectionName String
- Connection name
- resourceGroup StringName 
- The resource group
- subscriptionId String
- Subscription Id
- connectionName string
- Connection name
- resourceGroup stringName 
- The resource group
- subscriptionId string
- Subscription Id
- connection_name str
- Connection name
- resource_group_ strname 
- The resource group
- subscription_id str
- Subscription Id
- connectionName String
- Connection name
- resourceGroup StringName 
- The resource group
- subscriptionId String
- Subscription Id
getConnection Result
The following output properties are available:
- Id string
- Resource id
- Name string
- Resource name
- Properties
Pulumi.Azure Native. Web. Outputs. Api Connection Definition Response Properties 
- Type string
- Resource type
- Etag string
- Resource ETag
- Location string
- Resource location
- Dictionary<string, string>
- Resource tags
- Id string
- Resource id
- Name string
- Resource name
- Properties
ApiConnection Definition Response Properties 
- Type string
- Resource type
- Etag string
- Resource ETag
- Location string
- Resource location
- map[string]string
- Resource tags
- id String
- Resource id
- name String
- Resource name
- properties
ApiConnection Definition Response Properties 
- type String
- Resource type
- etag String
- Resource ETag
- location String
- Resource location
- Map<String,String>
- Resource tags
- id string
- Resource id
- name string
- Resource name
- properties
ApiConnection Definition Response Properties 
- type string
- Resource type
- etag string
- Resource ETag
- location string
- Resource location
- {[key: string]: string}
- Resource tags
- id str
- Resource id
- name str
- Resource name
- properties
ApiConnection Definition Response Properties 
- type str
- Resource type
- etag str
- Resource ETag
- location str
- Resource location
- Mapping[str, str]
- Resource tags
- id String
- Resource id
- name String
- Resource name
- properties Property Map
- type String
- Resource type
- etag String
- Resource ETag
- location String
- Resource location
- Map<String>
- Resource tags
Supporting Types
ApiConnectionDefinitionResponseProperties    
- Api
Pulumi.Azure Native. Web. Inputs. Api Reference Response 
- ChangedTime string
- Timestamp of last connection change
- CreatedTime string
- Timestamp of the connection creation
- CustomParameter Dictionary<string, string>Values 
- Dictionary of custom parameter values
- DisplayName string
- Display name
- NonSecret Dictionary<string, string>Parameter Values 
- Dictionary of nonsecret parameter values
- ParameterValues Dictionary<string, string>
- Dictionary of parameter values
- Statuses
List<Pulumi.Azure Native. Web. Inputs. Connection Status Definition Response> 
- Status of the connection
- TestLinks List<Pulumi.Azure Native. Web. Inputs. Api Connection Test Link Response> 
- Links to test the API connection
- Api
ApiReference Response 
- ChangedTime string
- Timestamp of last connection change
- CreatedTime string
- Timestamp of the connection creation
- CustomParameter map[string]stringValues 
- Dictionary of custom parameter values
- DisplayName string
- Display name
- NonSecret map[string]stringParameter Values 
- Dictionary of nonsecret parameter values
- ParameterValues map[string]string
- Dictionary of parameter values
- Statuses
[]ConnectionStatus Definition Response 
- Status of the connection
- TestLinks []ApiConnection Test Link Response 
- Links to test the API connection
- api
ApiReference Response 
- changedTime String
- Timestamp of last connection change
- createdTime String
- Timestamp of the connection creation
- customParameter Map<String,String>Values 
- Dictionary of custom parameter values
- displayName String
- Display name
- nonSecret Map<String,String>Parameter Values 
- Dictionary of nonsecret parameter values
- parameterValues Map<String,String>
- Dictionary of parameter values
- statuses
List<ConnectionStatus Definition Response> 
- Status of the connection
- testLinks List<ApiConnection Test Link Response> 
- Links to test the API connection
- api
ApiReference Response 
- changedTime string
- Timestamp of last connection change
- createdTime string
- Timestamp of the connection creation
- customParameter {[key: string]: string}Values 
- Dictionary of custom parameter values
- displayName string
- Display name
- nonSecret {[key: string]: string}Parameter Values 
- Dictionary of nonsecret parameter values
- parameterValues {[key: string]: string}
- Dictionary of parameter values
- statuses
ConnectionStatus Definition Response[] 
- Status of the connection
- testLinks ApiConnection Test Link Response[] 
- Links to test the API connection
- api
ApiReference Response 
- changed_time str
- Timestamp of last connection change
- created_time str
- Timestamp of the connection creation
- custom_parameter_ Mapping[str, str]values 
- Dictionary of custom parameter values
- display_name str
- Display name
- non_secret_ Mapping[str, str]parameter_ values 
- Dictionary of nonsecret parameter values
- parameter_values Mapping[str, str]
- Dictionary of parameter values
- statuses
Sequence[ConnectionStatus Definition Response] 
- Status of the connection
- test_links Sequence[ApiConnection Test Link Response] 
- Links to test the API connection
- api Property Map
- changedTime String
- Timestamp of last connection change
- createdTime String
- Timestamp of the connection creation
- customParameter Map<String>Values 
- Dictionary of custom parameter values
- displayName String
- Display name
- nonSecret Map<String>Parameter Values 
- Dictionary of nonsecret parameter values
- parameterValues Map<String>
- Dictionary of parameter values
- statuses List<Property Map>
- Status of the connection
- testLinks List<Property Map>
- Links to test the API connection
ApiConnectionTestLinkResponse    
- Method string
- HTTP Method
- RequestUri string
- Test link request URI
- Method string
- HTTP Method
- RequestUri string
- Test link request URI
- method String
- HTTP Method
- requestUri String
- Test link request URI
- method string
- HTTP Method
- requestUri string
- Test link request URI
- method str
- HTTP Method
- request_uri str
- Test link request URI
- method String
- HTTP Method
- requestUri String
- Test link request URI
ApiReferenceResponse  
- BrandColor string
- Brand color
- Description string
- The custom API description
- DisplayName string
- The display name
- IconUri string
- The icon URI
- Id string
- Resource reference id
- Name string
- The name of the API
- Swagger object
- The JSON representation of the swagger
- Type string
- Resource reference type
- BrandColor string
- Brand color
- Description string
- The custom API description
- DisplayName string
- The display name
- IconUri string
- The icon URI
- Id string
- Resource reference id
- Name string
- The name of the API
- Swagger interface{}
- The JSON representation of the swagger
- Type string
- Resource reference type
- brandColor String
- Brand color
- description String
- The custom API description
- displayName String
- The display name
- iconUri String
- The icon URI
- id String
- Resource reference id
- name String
- The name of the API
- swagger Object
- The JSON representation of the swagger
- type String
- Resource reference type
- brandColor string
- Brand color
- description string
- The custom API description
- displayName string
- The display name
- iconUri string
- The icon URI
- id string
- Resource reference id
- name string
- The name of the API
- swagger any
- The JSON representation of the swagger
- type string
- Resource reference type
- brand_color str
- Brand color
- description str
- The custom API description
- display_name str
- The display name
- icon_uri str
- The icon URI
- id str
- Resource reference id
- name str
- The name of the API
- swagger Any
- The JSON representation of the swagger
- type str
- Resource reference type
- brandColor String
- Brand color
- description String
- The custom API description
- displayName String
- The display name
- iconUri String
- The icon URI
- id String
- Resource reference id
- name String
- The name of the API
- swagger Any
- The JSON representation of the swagger
- type String
- Resource reference type
ConnectionErrorResponse  
ConnectionStatusDefinitionResponse   
- Error
Pulumi.Azure Native. Web. Inputs. Connection Error Response 
- Connection error
- Status string
- The gateway status
- Target string
- Target of the error
- Error
ConnectionError Response 
- Connection error
- Status string
- The gateway status
- Target string
- Target of the error
- error
ConnectionError Response 
- Connection error
- status String
- The gateway status
- target String
- Target of the error
- error
ConnectionError Response 
- Connection error
- status string
- The gateway status
- target string
- Target of the error
- error
ConnectionError Response 
- Connection error
- status str
- The gateway status
- target str
- Target of the error
- error Property Map
- Connection error
- status String
- The gateway status
- target String
- Target of the error
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi