1. Packages
  2. Azure Native
  3. API Docs
  4. hybridconnectivity
  5. Endpoint
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.8.0 published on Monday, Sep 18, 2023 by Pulumi

azure-native.hybridconnectivity.Endpoint

Explore with Pulumi AI

azure-native logo
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.8.0 published on Monday, Sep 18, 2023 by Pulumi

    The endpoint for the target resource. Azure REST API version: 2023-03-15. Prior API version in Azure Native 1.x: 2022-05-01-preview

    Example Usage

    HybridConnectivityEndpointsPutCustom

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var endpoint = new AzureNative.HybridConnectivity.Endpoint("endpoint", new()
        {
            EndpointName = "custom",
            Properties = new AzureNative.HybridConnectivity.Inputs.EndpointPropertiesArgs
            {
                ResourceId = "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace",
                Type = "custom",
            },
            ResourceUri = "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/hybridconnectivity/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hybridconnectivity.NewEndpoint(ctx, "endpoint", &hybridconnectivity.EndpointArgs{
    			EndpointName: pulumi.String("custom"),
    			Properties: &hybridconnectivity.EndpointPropertiesArgs{
    				ResourceId: pulumi.String("/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace"),
    				Type:       pulumi.String("custom"),
    			},
    			ResourceUri: pulumi.String("subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine"),
    		})
    		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.hybridconnectivity.Endpoint;
    import com.pulumi.azurenative.hybridconnectivity.EndpointArgs;
    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 endpoint = new Endpoint("endpoint", EndpointArgs.builder()        
                .endpointName("custom")
                .properties(Map.ofEntries(
                    Map.entry("resourceId", "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace"),
                    Map.entry("type", "custom")
                ))
                .resourceUri("subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    endpoint = azure_native.hybridconnectivity.Endpoint("endpoint",
        endpoint_name="custom",
        properties=azure_native.hybridconnectivity.EndpointPropertiesArgs(
            resource_id="/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace",
            type="custom",
        ),
        resource_uri="subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const endpoint = new azure_native.hybridconnectivity.Endpoint("endpoint", {
        endpointName: "custom",
        properties: {
            resourceId: "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace",
            type: "custom",
        },
        resourceUri: "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
    });
    
    resources:
      endpoint:
        type: azure-native:hybridconnectivity:Endpoint
        properties:
          endpointName: custom
          properties:
            resourceId: /subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace
            type: custom
          resourceUri: subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine
    

    HybridConnectivityEndpointsPutDefault

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var endpoint = new AzureNative.HybridConnectivity.Endpoint("endpoint", new()
        {
            EndpointName = "default",
            Properties = new AzureNative.HybridConnectivity.Inputs.EndpointPropertiesArgs
            {
                Type = "default",
            },
            ResourceUri = "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/hybridconnectivity/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hybridconnectivity.NewEndpoint(ctx, "endpoint", &hybridconnectivity.EndpointArgs{
    			EndpointName: pulumi.String("default"),
    			Properties: &hybridconnectivity.EndpointPropertiesArgs{
    				Type: pulumi.String("default"),
    			},
    			ResourceUri: pulumi.String("subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine"),
    		})
    		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.hybridconnectivity.Endpoint;
    import com.pulumi.azurenative.hybridconnectivity.EndpointArgs;
    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 endpoint = new Endpoint("endpoint", EndpointArgs.builder()        
                .endpointName("default")
                .properties(Map.of("type", "default"))
                .resourceUri("subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    endpoint = azure_native.hybridconnectivity.Endpoint("endpoint",
        endpoint_name="default",
        properties=azure_native.hybridconnectivity.EndpointPropertiesArgs(
            type="default",
        ),
        resource_uri="subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const endpoint = new azure_native.hybridconnectivity.Endpoint("endpoint", {
        endpointName: "default",
        properties: {
            type: "default",
        },
        resourceUri: "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
    });
    
    resources:
      endpoint:
        type: azure-native:hybridconnectivity:Endpoint
        properties:
          endpointName: default
          properties:
            type: default
          resourceUri: subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine
    

    Create Endpoint Resource

    new Endpoint(name: string, args: EndpointArgs, opts?: CustomResourceOptions);
    @overload
    def Endpoint(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 created_at: Optional[str] = None,
                 created_by: Optional[str] = None,
                 created_by_type: Optional[Union[str, CreatedByType]] = None,
                 endpoint_name: Optional[str] = None,
                 last_modified_at: Optional[str] = None,
                 last_modified_by: Optional[str] = None,
                 last_modified_by_type: Optional[Union[str, CreatedByType]] = None,
                 properties: Optional[EndpointPropertiesArgs] = None,
                 resource_uri: Optional[str] = None)
    @overload
    def Endpoint(resource_name: str,
                 args: EndpointArgs,
                 opts: Optional[ResourceOptions] = None)
    func NewEndpoint(ctx *Context, name string, args EndpointArgs, opts ...ResourceOption) (*Endpoint, error)
    public Endpoint(string name, EndpointArgs args, CustomResourceOptions? opts = null)
    public Endpoint(String name, EndpointArgs args)
    public Endpoint(String name, EndpointArgs args, CustomResourceOptions options)
    
    type: azure-native:hybridconnectivity:Endpoint
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args EndpointArgs
    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 EndpointArgs
    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 EndpointArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EndpointArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EndpointArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Endpoint 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 Endpoint resource accepts the following input properties:

    ResourceUri string

    The fully qualified Azure Resource manager identifier of the resource to be connected.

    CreatedAt string

    The timestamp of resource creation (UTC).

    CreatedBy string

    The identity that created the resource.

    CreatedByType string | Pulumi.AzureNative.HybridConnectivity.CreatedByType

    The type of identity that created the resource.

    EndpointName string

    The endpoint name.

    LastModifiedAt string

    The timestamp of resource last modification (UTC)

    LastModifiedBy string

    The identity that last modified the resource.

    LastModifiedByType string | Pulumi.AzureNative.HybridConnectivity.CreatedByType

    The type of identity that last modified the resource.

    Properties Pulumi.AzureNative.HybridConnectivity.Inputs.EndpointProperties

    The endpoint properties.

    ResourceUri string

    The fully qualified Azure Resource manager identifier of the resource to be connected.

    CreatedAt string

    The timestamp of resource creation (UTC).

    CreatedBy string

    The identity that created the resource.

    CreatedByType string | CreatedByType

    The type of identity that created the resource.

    EndpointName string

    The endpoint name.

    LastModifiedAt string

    The timestamp of resource last modification (UTC)

    LastModifiedBy string

    The identity that last modified the resource.

    LastModifiedByType string | CreatedByType

    The type of identity that last modified the resource.

    Properties EndpointPropertiesArgs

    The endpoint properties.

    resourceUri String

    The fully qualified Azure Resource manager identifier of the resource to be connected.

    createdAt String

    The timestamp of resource creation (UTC).

    createdBy String

    The identity that created the resource.

    createdByType String | CreatedByType

    The type of identity that created the resource.

    endpointName String

    The endpoint name.

    lastModifiedAt String

    The timestamp of resource last modification (UTC)

    lastModifiedBy String

    The identity that last modified the resource.

    lastModifiedByType String | CreatedByType

    The type of identity that last modified the resource.

    properties EndpointProperties

    The endpoint properties.

    resourceUri string

    The fully qualified Azure Resource manager identifier of the resource to be connected.

    createdAt string

    The timestamp of resource creation (UTC).

    createdBy string

    The identity that created the resource.

    createdByType string | CreatedByType

    The type of identity that created the resource.

    endpointName string

    The endpoint name.

    lastModifiedAt string

    The timestamp of resource last modification (UTC)

    lastModifiedBy string

    The identity that last modified the resource.

    lastModifiedByType string | CreatedByType

    The type of identity that last modified the resource.

    properties EndpointProperties

    The endpoint properties.

    resource_uri str

    The fully qualified Azure Resource manager identifier of the resource to be connected.

    created_at str

    The timestamp of resource creation (UTC).

    created_by str

    The identity that created the resource.

    created_by_type str | CreatedByType

    The type of identity that created the resource.

    endpoint_name str

    The endpoint name.

    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 | CreatedByType

    The type of identity that last modified the resource.

    properties EndpointPropertiesArgs

    The endpoint properties.

    resourceUri String

    The fully qualified Azure Resource manager identifier of the resource to be connected.

    createdAt String

    The timestamp of resource creation (UTC).

    createdBy String

    The identity that created the resource.

    createdByType String | "User" | "Application" | "ManagedIdentity" | "Key"

    The type of identity that created the resource.

    endpointName String

    The endpoint name.

    lastModifiedAt String

    The timestamp of resource last modification (UTC)

    lastModifiedBy String

    The identity that last modified the resource.

    lastModifiedByType String | "User" | "Application" | "ManagedIdentity" | "Key"

    The type of identity that last modified the resource.

    properties Property Map

    The endpoint properties.

    Outputs

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

    Id string

    The provider-assigned unique ID for this managed resource.

    Name string

    The name of the resource

    SystemData Pulumi.AzureNative.HybridConnectivity.Outputs.SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    Type string

    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Id string

    The provider-assigned unique ID for this managed resource.

    Name string

    The name of the resource

    SystemData SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    Type string

    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    id String

    The provider-assigned unique ID for this managed resource.

    name String

    The name of the resource

    systemData SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    type String

    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    id string

    The provider-assigned unique ID for this managed resource.

    name string

    The name of the resource

    systemData SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    type string

    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    id str

    The provider-assigned unique ID for this managed resource.

    name str

    The name of the resource

    system_data SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    type str

    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    id String

    The provider-assigned unique ID for this managed resource.

    name String

    The name of the resource

    systemData Property Map

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    type String

    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    CreatedByType, CreatedByTypeArgs

    User
    User
    Application
    Application
    ManagedIdentity
    ManagedIdentity
    Key
    Key
    CreatedByTypeUser
    User
    CreatedByTypeApplication
    Application
    CreatedByTypeManagedIdentity
    ManagedIdentity
    CreatedByTypeKey
    Key
    User
    User
    Application
    Application
    ManagedIdentity
    ManagedIdentity
    Key
    Key
    User
    User
    Application
    Application
    ManagedIdentity
    ManagedIdentity
    Key
    Key
    USER
    User
    APPLICATION
    Application
    MANAGED_IDENTITY
    ManagedIdentity
    KEY
    Key
    "User"
    User
    "Application"
    Application
    "ManagedIdentity"
    ManagedIdentity
    "Key"
    Key

    EndpointProperties, EndpointPropertiesArgs

    Type string | Pulumi.AzureNative.HybridConnectivity.Type

    The type of endpoint.

    ResourceId string

    The resource Id of the connectivity endpoint (optional).

    Type string | Type

    The type of endpoint.

    ResourceId string

    The resource Id of the connectivity endpoint (optional).

    type String | Type

    The type of endpoint.

    resourceId String

    The resource Id of the connectivity endpoint (optional).

    type string | Type

    The type of endpoint.

    resourceId string

    The resource Id of the connectivity endpoint (optional).

    type str | Type

    The type of endpoint.

    resource_id str

    The resource Id of the connectivity endpoint (optional).

    type String | "default" | "custom"

    The type of endpoint.

    resourceId String

    The resource Id of the connectivity endpoint (optional).

    EndpointPropertiesResponse, EndpointPropertiesResponseArgs

    ProvisioningState string

    The resource provisioning state.

    Type string

    The type of endpoint.

    ResourceId string

    The resource Id of the connectivity endpoint (optional).

    ProvisioningState string

    The resource provisioning state.

    Type string

    The type of endpoint.

    ResourceId string

    The resource Id of the connectivity endpoint (optional).

    provisioningState String

    The resource provisioning state.

    type String

    The type of endpoint.

    resourceId String

    The resource Id of the connectivity endpoint (optional).

    provisioningState string

    The resource provisioning state.

    type string

    The type of endpoint.

    resourceId string

    The resource Id of the connectivity endpoint (optional).

    provisioning_state str

    The resource provisioning state.

    type str

    The type of endpoint.

    resource_id str

    The resource Id of the connectivity endpoint (optional).

    provisioningState String

    The resource provisioning state.

    type String

    The type of endpoint.

    resourceId String

    The resource Id of the connectivity endpoint (optional).

    SystemDataResponse, SystemDataResponseArgs

    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.

    Type, TypeArgs

    @Default
    default
    Custom
    custom
    TypeDefault
    default
    TypeCustom
    custom
    Default_
    default
    Custom
    custom
    Default
    default
    Custom
    custom
    DEFAULT
    default
    CUSTOM
    custom
    "default"
    default
    "custom"
    custom

    Import

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

    $ pulumi import azure-native:hybridconnectivity:Endpoint default /{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.8.0 published on Monday, Sep 18, 2023 by Pulumi