azure-native-v2.devices.PrivateEndpointConnection
Explore with Pulumi AI
The private endpoint connection of an IotHub Azure REST API version: 2022-04-30-preview. Prior API version in Azure Native 1.x: 2020-08-31.
Other available API versions: 2022-11-15-preview, 2023-06-30, 2023-06-30-preview.
Create PrivateEndpointConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PrivateEndpointConnection(name: string, args: PrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
@overload
def PrivateEndpointConnection(resource_name: str,
args: PrivateEndpointConnectionInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PrivateEndpointConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
properties: Optional[PrivateEndpointConnectionPropertiesArgs] = None,
resource_group_name: Optional[str] = None,
resource_name_: Optional[str] = None,
private_endpoint_connection_name: Optional[str] = None)
func NewPrivateEndpointConnection(ctx *Context, name string, args PrivateEndpointConnectionArgs, opts ...ResourceOption) (*PrivateEndpointConnection, error)
public PrivateEndpointConnection(string name, PrivateEndpointConnectionArgs args, CustomResourceOptions? opts = null)
public PrivateEndpointConnection(String name, PrivateEndpointConnectionArgs args)
public PrivateEndpointConnection(String name, PrivateEndpointConnectionArgs args, CustomResourceOptions options)
type: azure-native:devices:PrivateEndpointConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. PrivateEndpointConnectionArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. PrivateEndpointConnectionInitArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. PrivateEndpointConnectionArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. PrivateEndpointConnectionArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. PrivateEndpointConnectionArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleprivateEndpointConnectionResourceResourceFromDevices = new AzureNative.Devices.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromDevices", new()
{
Properties =
{
{ "privateLinkServiceConnectionState",
{
{ "description", "string" },
{ "status", "string" },
{ "actionsRequired", "string" },
} },
},
ResourceGroupName = "string",
ResourceName = "string",
PrivateEndpointConnectionName = "string",
});
example, err := devices.NewPrivateEndpointConnection(ctx, "exampleprivateEndpointConnectionResourceResourceFromDevices", &devices.PrivateEndpointConnectionArgs{
Properties: map[string]interface{}{
"privateLinkServiceConnectionState": map[string]interface{}{
"description": "string",
"status": "string",
"actionsRequired": "string",
},
},
ResourceGroupName: "string",
ResourceName: "string",
PrivateEndpointConnectionName: "string",
})
var exampleprivateEndpointConnectionResourceResourceFromDevices = new PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromDevices", PrivateEndpointConnectionArgs.builder()
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.resourceName("string")
.privateEndpointConnectionName("string")
.build());
exampleprivate_endpoint_connection_resource_resource_from_devices = azure_native.devices.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromDevices",
properties={
privateLinkServiceConnectionState: {
description: string,
status: string,
actionsRequired: string,
},
},
resource_group_name=string,
resource_name_=string,
private_endpoint_connection_name=string)
const exampleprivateEndpointConnectionResourceResourceFromDevices = new azure_native.devices.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromDevices", {
properties: {
privateLinkServiceConnectionState: {
description: "string",
status: "string",
actionsRequired: "string",
},
},
resourceGroupName: "string",
resourceName: "string",
privateEndpointConnectionName: "string",
});
type: azure-native:devices:PrivateEndpointConnection
properties:
privateEndpointConnectionName: string
properties:
privateLinkServiceConnectionState:
actionsRequired: string
description: string
status: string
resourceGroupName: string
resourceName: string
PrivateEndpointConnection Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PrivateEndpointConnection resource accepts the following input properties:
- Properties
This property is required. Pulumi.Azure Native. Devices. Inputs. Private Endpoint Connection Properties - The properties of a private endpoint connection
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the IoT hub.
- Resource
Name This property is required. Changes to this property will trigger replacement.
- The name of the IoT hub.
- Private
Endpoint Connection Name Changes to this property will trigger replacement.
- The name of the private endpoint connection
- Properties
This property is required. PrivateEndpoint Connection Properties Args - The properties of a private endpoint connection
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the IoT hub.
- Resource
Name This property is required. Changes to this property will trigger replacement.
- The name of the IoT hub.
- Private
Endpoint Connection Name Changes to this property will trigger replacement.
- The name of the private endpoint connection
- properties
This property is required. PrivateEndpoint Connection Properties - The properties of a private endpoint connection
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the IoT hub.
- resource
Name This property is required. Changes to this property will trigger replacement.
- The name of the IoT hub.
- private
Endpoint Connection Name Changes to this property will trigger replacement.
- The name of the private endpoint connection
- properties
This property is required. PrivateEndpoint Connection Properties - The properties of a private endpoint connection
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the IoT hub.
- resource
Name This property is required. Changes to this property will trigger replacement.
- The name of the IoT hub.
- private
Endpoint Connection Name Changes to this property will trigger replacement.
- The name of the private endpoint connection
- properties
This property is required. PrivateEndpoint Connection Properties Args - The properties of a private endpoint connection
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the IoT hub.
- resource_
name This property is required. Changes to this property will trigger replacement.
- The name of the IoT hub.
- private_
endpoint_ connection_ name Changes to this property will trigger replacement.
- The name of the private endpoint connection
- properties
This property is required. Property Map - The properties of a private endpoint connection
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the IoT hub.
- resource
Name This property is required. Changes to this property will trigger replacement.
- The name of the IoT hub.
- private
Endpoint Connection Name Changes to this property will trigger replacement.
- The name of the private endpoint connection
Outputs
All input properties are implicitly available as output properties. Additionally, the PrivateEndpointConnection resource produces the following output properties:
Supporting Types
PrivateEndpointConnectionProperties, PrivateEndpointConnectionPropertiesArgs
- Private
Link Service Connection State This property is required. Pulumi.Azure Native. Devices. Inputs. Private Link Service Connection State - The current state of a private endpoint connection
- Private
Link Service Connection State This property is required. PrivateLink Service Connection State - The current state of a private endpoint connection
- private
Link Service Connection State This property is required. PrivateLink Service Connection State - The current state of a private endpoint connection
- private
Link Service Connection State This property is required. PrivateLink Service Connection State - The current state of a private endpoint connection
- private_
link_ service_ connection_ state This property is required. PrivateLink Service Connection State - The current state of a private endpoint connection
- private
Link Service Connection State This property is required. Property Map - The current state of a private endpoint connection
PrivateEndpointConnectionPropertiesResponse, PrivateEndpointConnectionPropertiesResponseArgs
- Private
Link Service Connection State This property is required. Pulumi.Azure Native. Devices. Inputs. Private Link Service Connection State Response - The current state of a private endpoint connection
- Private
Endpoint Pulumi.Azure Native. Devices. Inputs. Private Endpoint Response - The private endpoint property of a private endpoint connection
- Private
Link Service Connection State This property is required. PrivateLink Service Connection State Response - The current state of a private endpoint connection
- Private
Endpoint PrivateEndpoint Response - The private endpoint property of a private endpoint connection
- private
Link Service Connection State This property is required. PrivateLink Service Connection State Response - The current state of a private endpoint connection
- private
Endpoint PrivateEndpoint Response - The private endpoint property of a private endpoint connection
- private
Link Service Connection State This property is required. PrivateLink Service Connection State Response - The current state of a private endpoint connection
- private
Endpoint PrivateEndpoint Response - The private endpoint property of a private endpoint connection
- private_
link_ service_ connection_ state This property is required. PrivateLink Service Connection State Response - The current state of a private endpoint connection
- private_
endpoint PrivateEndpoint Response - The private endpoint property of a private endpoint connection
- private
Link Service Connection State This property is required. Property Map - The current state of a private endpoint connection
- private
Endpoint Property Map - The private endpoint property of a private endpoint connection
PrivateEndpointResponse, PrivateEndpointResponseArgs
- Id
This property is required. string - The resource identifier.
- Id
This property is required. string - The resource identifier.
- id
This property is required. String - The resource identifier.
- id
This property is required. string - The resource identifier.
- id
This property is required. str - The resource identifier.
- id
This property is required. String - The resource identifier.
PrivateLinkServiceConnectionState, PrivateLinkServiceConnectionStateArgs
- Description
This property is required. string - The description for the current state of a private endpoint connection
- Status
This property is required. string | Pulumi.Azure Native. Devices. Private Link Service Connection Status - The status of a private endpoint connection
- Actions
Required string - Actions required for a private endpoint connection
- Description
This property is required. string - The description for the current state of a private endpoint connection
- Status
This property is required. string | PrivateLink Service Connection Status - The status of a private endpoint connection
- Actions
Required string - Actions required for a private endpoint connection
- description
This property is required. String - The description for the current state of a private endpoint connection
- status
This property is required. String | PrivateLink Service Connection Status - The status of a private endpoint connection
- actions
Required String - Actions required for a private endpoint connection
- description
This property is required. string - The description for the current state of a private endpoint connection
- status
This property is required. string | PrivateLink Service Connection Status - The status of a private endpoint connection
- actions
Required string - Actions required for a private endpoint connection
- description
This property is required. str - The description for the current state of a private endpoint connection
- status
This property is required. str | PrivateLink Service Connection Status - The status of a private endpoint connection
- actions_
required str - Actions required for a private endpoint connection
- description
This property is required. String - The description for the current state of a private endpoint connection
- status
This property is required. String | "Pending" | "Approved" | "Rejected" | "Disconnected" - The status of a private endpoint connection
- actions
Required String - Actions required for a private endpoint connection
PrivateLinkServiceConnectionStateResponse, PrivateLinkServiceConnectionStateResponseArgs
- Description
This property is required. string - The description for the current state of a private endpoint connection
- Status
This property is required. string - The status of a private endpoint connection
- Actions
Required string - Actions required for a private endpoint connection
- Description
This property is required. string - The description for the current state of a private endpoint connection
- Status
This property is required. string - The status of a private endpoint connection
- Actions
Required string - Actions required for a private endpoint connection
- description
This property is required. String - The description for the current state of a private endpoint connection
- status
This property is required. String - The status of a private endpoint connection
- actions
Required String - Actions required for a private endpoint connection
- description
This property is required. string - The description for the current state of a private endpoint connection
- status
This property is required. string - The status of a private endpoint connection
- actions
Required string - Actions required for a private endpoint connection
- description
This property is required. str - The description for the current state of a private endpoint connection
- status
This property is required. str - The status of a private endpoint connection
- actions_
required str - Actions required for a private endpoint connection
- description
This property is required. String - The description for the current state of a private endpoint connection
- status
This property is required. String - The status of a private endpoint connection
- actions
Required String - Actions required for a private endpoint connection
PrivateLinkServiceConnectionStatus, PrivateLinkServiceConnectionStatusArgs
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Disconnected
- Disconnected
- Private
Link Service Connection Status Pending - Pending
- Private
Link Service Connection Status Approved - Approved
- Private
Link Service Connection Status Rejected - Rejected
- Private
Link Service Connection Status Disconnected - Disconnected
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Disconnected
- Disconnected
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Disconnected
- Disconnected
- PENDING
- Pending
- APPROVED
- Approved
- REJECTED
- Rejected
- DISCONNECTED
- Disconnected
- "Pending"
- Pending
- "Approved"
- Approved
- "Rejected"
- Rejected
- "Disconnected"
- Disconnected
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:devices:PrivateEndpointConnection myPrivateEndpointConnection /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0