Azure Native

v1.88.1 published on Thursday, Dec 1, 2022 by Pulumi

PrivateLinkScope

An Azure Arc PrivateLinkScope definition. API Version: 2021-03-25-preview.

Example Usage

PrivateLinkScopeCreate

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var privateLinkScope = new AzureNative.HybridCompute.PrivateLinkScope("privateLinkScope", new()
    {
        Location = "westus",
        ResourceGroupName = "my-resource-group",
        ScopeName = "my-privatelinkscope",
    });

});
package main

import (
	hybridcompute "github.com/pulumi/pulumi-azure-native/sdk/go/azure/hybridcompute"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hybridcompute.NewPrivateLinkScope(ctx, "privateLinkScope", &hybridcompute.PrivateLinkScopeArgs{
			Location:          pulumi.String("westus"),
			ResourceGroupName: pulumi.String("my-resource-group"),
			ScopeName:         pulumi.String("my-privatelinkscope"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.hybridcompute.PrivateLinkScope;
import com.pulumi.azurenative.hybridcompute.PrivateLinkScopeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var privateLinkScope = new PrivateLinkScope("privateLinkScope", PrivateLinkScopeArgs.builder()        
            .location("westus")
            .resourceGroupName("my-resource-group")
            .scopeName("my-privatelinkscope")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

private_link_scope = azure_native.hybridcompute.PrivateLinkScope("privateLinkScope",
    location="westus",
    resource_group_name="my-resource-group",
    scope_name="my-privatelinkscope")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const privateLinkScope = new azure_native.hybridcompute.PrivateLinkScope("privateLinkScope", {
    location: "westus",
    resourceGroupName: "my-resource-group",
    scopeName: "my-privatelinkscope",
});
resources:
  privateLinkScope:
    type: azure-native:hybridcompute:PrivateLinkScope
    properties:
      location: westus
      resourceGroupName: my-resource-group
      scopeName: my-privatelinkscope

PrivateLinkScopeUpdate

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var privateLinkScope = new AzureNative.HybridCompute.PrivateLinkScope("privateLinkScope", new()
    {
        Location = "westus",
        ResourceGroupName = "my-resource-group",
        ScopeName = "my-privatelinkscope",
        Tags = 
        {
            { "Tag1", "Value1" },
        },
    });

});
package main

import (
	hybridcompute "github.com/pulumi/pulumi-azure-native/sdk/go/azure/hybridcompute"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hybridcompute.NewPrivateLinkScope(ctx, "privateLinkScope", &hybridcompute.PrivateLinkScopeArgs{
			Location:          pulumi.String("westus"),
			ResourceGroupName: pulumi.String("my-resource-group"),
			ScopeName:         pulumi.String("my-privatelinkscope"),
			Tags: pulumi.StringMap{
				"Tag1": pulumi.String("Value1"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.hybridcompute.PrivateLinkScope;
import com.pulumi.azurenative.hybridcompute.PrivateLinkScopeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var privateLinkScope = new PrivateLinkScope("privateLinkScope", PrivateLinkScopeArgs.builder()        
            .location("westus")
            .resourceGroupName("my-resource-group")
            .scopeName("my-privatelinkscope")
            .tags(Map.of("Tag1", "Value1"))
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

private_link_scope = azure_native.hybridcompute.PrivateLinkScope("privateLinkScope",
    location="westus",
    resource_group_name="my-resource-group",
    scope_name="my-privatelinkscope",
    tags={
        "Tag1": "Value1",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const privateLinkScope = new azure_native.hybridcompute.PrivateLinkScope("privateLinkScope", {
    location: "westus",
    resourceGroupName: "my-resource-group",
    scopeName: "my-privatelinkscope",
    tags: {
        Tag1: "Value1",
    },
});
resources:
  privateLinkScope:
    type: azure-native:hybridcompute:PrivateLinkScope
    properties:
      location: westus
      resourceGroupName: my-resource-group
      scopeName: my-privatelinkscope
      tags:
        Tag1: Value1

Create PrivateLinkScope Resource

new PrivateLinkScope(name: string, args: PrivateLinkScopeArgs, opts?: CustomResourceOptions);
@overload
def PrivateLinkScope(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     location: Optional[str] = None,
                     properties: Optional[HybridComputePrivateLinkScopePropertiesArgs] = None,
                     resource_group_name: Optional[str] = None,
                     scope_name: Optional[str] = None,
                     tags: Optional[Mapping[str, str]] = None)
@overload
def PrivateLinkScope(resource_name: str,
                     args: PrivateLinkScopeArgs,
                     opts: Optional[ResourceOptions] = None)
func NewPrivateLinkScope(ctx *Context, name string, args PrivateLinkScopeArgs, opts ...ResourceOption) (*PrivateLinkScope, error)
public PrivateLinkScope(string name, PrivateLinkScopeArgs args, CustomResourceOptions? opts = null)
public PrivateLinkScope(String name, PrivateLinkScopeArgs args)
public PrivateLinkScope(String name, PrivateLinkScopeArgs args, CustomResourceOptions options)
type: azure-native:hybridcompute:PrivateLinkScope
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args PrivateLinkScopeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args PrivateLinkScopeArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args PrivateLinkScopeArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PrivateLinkScopeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args PrivateLinkScopeArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

PrivateLinkScope Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The PrivateLinkScope resource accepts the following input properties:

ResourceGroupName string

The name of the resource group. The name is case insensitive.

Location string

Resource location

Properties Pulumi.AzureNative.HybridCompute.Inputs.HybridComputePrivateLinkScopePropertiesArgs

Properties that define a Azure Arc PrivateLinkScope resource.

ScopeName string

The name of the Azure Arc PrivateLinkScope resource.

Tags Dictionary<string, string>

Resource tags

ResourceGroupName string

The name of the resource group. The name is case insensitive.

Location string

Resource location

Properties HybridComputePrivateLinkScopePropertiesArgs

Properties that define a Azure Arc PrivateLinkScope resource.

ScopeName string

The name of the Azure Arc PrivateLinkScope resource.

Tags map[string]string

Resource tags

resourceGroupName String

The name of the resource group. The name is case insensitive.

location String

Resource location

properties HybridComputePrivateLinkScopePropertiesArgs

Properties that define a Azure Arc PrivateLinkScope resource.

scopeName String

The name of the Azure Arc PrivateLinkScope resource.

tags Map<String,String>

Resource tags

resourceGroupName string

The name of the resource group. The name is case insensitive.

location string

Resource location

properties HybridComputePrivateLinkScopePropertiesArgs

Properties that define a Azure Arc PrivateLinkScope resource.

scopeName string

The name of the Azure Arc PrivateLinkScope resource.

tags {[key: string]: string}

Resource tags

resource_group_name str

The name of the resource group. The name is case insensitive.

location str

Resource location

properties HybridComputePrivateLinkScopePropertiesArgs

Properties that define a Azure Arc PrivateLinkScope resource.

scope_name str

The name of the Azure Arc PrivateLinkScope resource.

tags Mapping[str, str]

Resource tags

resourceGroupName String

The name of the resource group. The name is case insensitive.

location String

Resource location

properties Property Map

Properties that define a Azure Arc PrivateLinkScope resource.

scopeName String

The name of the Azure Arc PrivateLinkScope resource.

tags Map<String>

Resource tags

Outputs

All input properties are implicitly available as output properties. Additionally, the PrivateLinkScope resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Name string

Azure resource name

SystemData Pulumi.AzureNative.HybridCompute.Outputs.SystemDataResponse

The system meta data relating to this resource.

Type string

Azure resource type

Id string

The provider-assigned unique ID for this managed resource.

Name string

Azure resource name

SystemData SystemDataResponse

The system meta data relating to this resource.

Type string

Azure resource type

id String

The provider-assigned unique ID for this managed resource.

name String

Azure resource name

systemData SystemDataResponse

The system meta data relating to this resource.

type String

Azure resource type

id string

The provider-assigned unique ID for this managed resource.

name string

Azure resource name

systemData SystemDataResponse

The system meta data relating to this resource.

type string

Azure resource type

id str

The provider-assigned unique ID for this managed resource.

name str

Azure resource name

system_data SystemDataResponse

The system meta data relating to this resource.

type str

Azure resource type

id String

The provider-assigned unique ID for this managed resource.

name String

Azure resource name

systemData Property Map

The system meta data relating to this resource.

type String

Azure resource type

Supporting Types

HybridComputePrivateLinkScopeProperties

PublicNetworkAccess string | Pulumi.AzureNative.HybridCompute.PublicNetworkAccessType

Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.

PublicNetworkAccess string | PublicNetworkAccessType

Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.

publicNetworkAccess String | PublicNetworkAccessType

Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.

publicNetworkAccess string | PublicNetworkAccessType

Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.

public_network_access str | PublicNetworkAccessType

Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.

publicNetworkAccess String | "Enabled" | "Disabled"

Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.

HybridComputePrivateLinkScopePropertiesResponse

PrivateLinkScopeId string

The Guid id of the private link scope.

ProvisioningState string

Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.

PublicNetworkAccess string

Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.

PrivateLinkScopeId string

The Guid id of the private link scope.

ProvisioningState string

Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.

PublicNetworkAccess string

Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.

privateLinkScopeId String

The Guid id of the private link scope.

provisioningState String

Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.

publicNetworkAccess String

Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.

privateLinkScopeId string

The Guid id of the private link scope.

provisioningState string

Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.

publicNetworkAccess string

Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.

private_link_scope_id str

The Guid id of the private link scope.

provisioning_state str

Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.

public_network_access str

Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.

privateLinkScopeId String

The Guid id of the private link scope.

provisioningState String

Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.

publicNetworkAccess String

Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.

PublicNetworkAccessType

Enabled
Enabled

Allows Azure Arc agents to communicate with Azure Arc services over both public (internet) and private endpoints.

Disabled
Disabled

Does not allow Azure Arc agents to communicate with Azure Arc services over public (internet) endpoints. The agents must use the private link.

PublicNetworkAccessTypeEnabled
Enabled

Allows Azure Arc agents to communicate with Azure Arc services over both public (internet) and private endpoints.

PublicNetworkAccessTypeDisabled
Disabled

Does not allow Azure Arc agents to communicate with Azure Arc services over public (internet) endpoints. The agents must use the private link.

Enabled
Enabled

Allows Azure Arc agents to communicate with Azure Arc services over both public (internet) and private endpoints.

Disabled
Disabled

Does not allow Azure Arc agents to communicate with Azure Arc services over public (internet) endpoints. The agents must use the private link.

Enabled
Enabled

Allows Azure Arc agents to communicate with Azure Arc services over both public (internet) and private endpoints.

Disabled
Disabled

Does not allow Azure Arc agents to communicate with Azure Arc services over public (internet) endpoints. The agents must use the private link.

ENABLED
Enabled

Allows Azure Arc agents to communicate with Azure Arc services over both public (internet) and private endpoints.

DISABLED
Disabled

Does not allow Azure Arc agents to communicate with Azure Arc services over public (internet) endpoints. The agents must use the private link.

"Enabled"
Enabled

Allows Azure Arc agents to communicate with Azure Arc services over both public (internet) and private endpoints.

"Disabled"
Disabled

Does not allow Azure Arc agents to communicate with Azure Arc services over public (internet) endpoints. The agents must use the private link.

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

createdAt string

The timestamp of resource creation (UTC).

createdBy string

The identity that created the resource.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

The type of identity that last modified the resource.

created_at str

The timestamp of resource creation (UTC).

created_by str

The identity that created the resource.

created_by_type str

The type of identity that created the resource.

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:hybridcompute:PrivateLinkScope my-privatelinkscope /subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridCompute/privateLinkScopes/my-privatelinkscope 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0