azure-native-v2.avs.CloudLink
Explore with Pulumi AI
A cloud link resource Azure REST API version: 2022-05-01. Prior API version in Azure Native 1.x: 2021-06-01.
Other available API versions: 2023-03-01, 2023-09-01.
Create CloudLink Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudLink(name: string, args: CloudLinkArgs, opts?: CustomResourceOptions);
@overload
def CloudLink(resource_name: str,
args: CloudLinkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CloudLink(resource_name: str,
opts: Optional[ResourceOptions] = None,
private_cloud_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
cloud_link_name: Optional[str] = None,
linked_cloud: Optional[str] = None)
func NewCloudLink(ctx *Context, name string, args CloudLinkArgs, opts ...ResourceOption) (*CloudLink, error)
public CloudLink(string name, CloudLinkArgs args, CustomResourceOptions? opts = null)
public CloudLink(String name, CloudLinkArgs args)
public CloudLink(String name, CloudLinkArgs args, CustomResourceOptions options)
type: azure-native:avs:CloudLink
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. CloudLinkArgs - 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. CloudLinkArgs - 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. CloudLinkArgs - 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. CloudLinkArgs - 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. CloudLinkArgs - 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 cloudLinkResource = new AzureNative.Avs.CloudLink("cloudLinkResource", new()
{
PrivateCloudName = "string",
ResourceGroupName = "string",
CloudLinkName = "string",
LinkedCloud = "string",
});
example, err := avs.NewCloudLink(ctx, "cloudLinkResource", &avs.CloudLinkArgs{
PrivateCloudName: "string",
ResourceGroupName: "string",
CloudLinkName: "string",
LinkedCloud: "string",
})
var cloudLinkResource = new CloudLink("cloudLinkResource", CloudLinkArgs.builder()
.privateCloudName("string")
.resourceGroupName("string")
.cloudLinkName("string")
.linkedCloud("string")
.build());
cloud_link_resource = azure_native.avs.CloudLink("cloudLinkResource",
private_cloud_name=string,
resource_group_name=string,
cloud_link_name=string,
linked_cloud=string)
const cloudLinkResource = new azure_native.avs.CloudLink("cloudLinkResource", {
privateCloudName: "string",
resourceGroupName: "string",
cloudLinkName: "string",
linkedCloud: "string",
});
type: azure-native:avs:CloudLink
properties:
cloudLinkName: string
linkedCloud: string
privateCloudName: string
resourceGroupName: string
CloudLink 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 CloudLink resource accepts the following input properties:
- Private
Cloud Name This property is required. Changes to this property will trigger replacement.
- The name of the private cloud.
- 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.
- Cloud
Link Name Changes to this property will trigger replacement.
- Name of the cloud link resource
- Linked
Cloud string - Identifier of the other private cloud participating in the link.
- Private
Cloud Name This property is required. Changes to this property will trigger replacement.
- The name of the private cloud.
- 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.
- Cloud
Link Name Changes to this property will trigger replacement.
- Name of the cloud link resource
- Linked
Cloud string - Identifier of the other private cloud participating in the link.
- private
Cloud Name This property is required. Changes to this property will trigger replacement.
- The name of the private cloud.
- 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.
- cloud
Link Name Changes to this property will trigger replacement.
- Name of the cloud link resource
- linked
Cloud String - Identifier of the other private cloud participating in the link.
- private
Cloud Name This property is required. Changes to this property will trigger replacement.
- The name of the private cloud.
- 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.
- cloud
Link Name Changes to this property will trigger replacement.
- Name of the cloud link resource
- linked
Cloud string - Identifier of the other private cloud participating in the link.
- private_
cloud_ name This property is required. Changes to this property will trigger replacement.
- The name of the private cloud.
- 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.
- cloud_
link_ name Changes to this property will trigger replacement.
- Name of the cloud link resource
- linked_
cloud str - Identifier of the other private cloud participating in the link.
- private
Cloud Name This property is required. Changes to this property will trigger replacement.
- The name of the private cloud.
- 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.
- cloud
Link Name Changes to this property will trigger replacement.
- Name of the cloud link resource
- linked
Cloud String - Identifier of the other private cloud participating in the link.
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudLink resource produces the following output properties:
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:avs:CloudLink cloudLink1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}
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