azure-native.hybridconnectivity.Endpoint
Explore with Pulumi AI
The endpoint for the target resource. API Version: 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",
        ResourceId = "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace",
        ResourceUri = "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
        Type = "custom",
    });
});
package main
import (
	hybridconnectivity "github.com/pulumi/pulumi-azure-native-sdk/hybridconnectivity"
	"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"),
			ResourceId:   pulumi.String("/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace"),
			ResourceUri:  pulumi.String("subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine"),
			Type:         pulumi.String("custom"),
		})
		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")
            .resourceId("/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace")
            .resourceUri("subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine")
            .type("custom")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const endpoint = new azure_native.hybridconnectivity.Endpoint("endpoint", {
    endpointName: "custom",
    resourceId: "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace",
    resourceUri: "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
    type: "custom",
});
import pulumi
import pulumi_azure_native as azure_native
endpoint = azure_native.hybridconnectivity.Endpoint("endpoint",
    endpoint_name="custom",
    resource_id="/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace",
    resource_uri="subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
    type="custom")
resources:
  endpoint:
    type: azure-native:hybridconnectivity:Endpoint
    properties:
      endpointName: custom
      resourceId: /subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace
      resourceUri: subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine
      type: custom
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",
        ResourceUri = "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
        Type = "default",
    });
});
package main
import (
	hybridconnectivity "github.com/pulumi/pulumi-azure-native-sdk/hybridconnectivity"
	"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"),
			ResourceUri:  pulumi.String("subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine"),
			Type:         pulumi.String("default"),
		})
		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")
            .resourceUri("subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine")
            .type("default")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const endpoint = new azure_native.hybridconnectivity.Endpoint("endpoint", {
    endpointName: "default",
    resourceUri: "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
    type: "default",
});
import pulumi
import pulumi_azure_native as azure_native
endpoint = azure_native.hybridconnectivity.Endpoint("endpoint",
    endpoint_name="default",
    resource_uri="subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
    type="default")
resources:
  endpoint:
    type: azure-native:hybridconnectivity:Endpoint
    properties:
      endpointName: default
      resourceUri: subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine
      type: default
Create Endpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Endpoint(name: string, args: EndpointArgs, opts?: CustomResourceOptions);@overload
def Endpoint(resource_name: str,
             args: EndpointArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def Endpoint(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             resource_uri: Optional[str] = None,
             type: Optional[Union[str, Type]] = 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,
             resource_id: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var azure_nativeEndpointResource = new AzureNative.Hybridconnectivity.Endpoint("azure-nativeEndpointResource", new()
{
    ResourceUri = "string",
    Type = "string",
    CreatedAt = "string",
    CreatedBy = "string",
    CreatedByType = "string",
    EndpointName = "string",
    LastModifiedAt = "string",
    LastModifiedBy = "string",
    LastModifiedByType = "string",
    ResourceId = "string",
});
example, err := hybridconnectivity.NewEndpoint(ctx, "azure-nativeEndpointResource", &hybridconnectivity.EndpointArgs{
	ResourceUri:        "string",
	Type:               "string",
	CreatedAt:          "string",
	CreatedBy:          "string",
	CreatedByType:      "string",
	EndpointName:       "string",
	LastModifiedAt:     "string",
	LastModifiedBy:     "string",
	LastModifiedByType: "string",
	ResourceId:         "string",
})
var azure_nativeEndpointResource = new Endpoint("azure-nativeEndpointResource", EndpointArgs.builder()
    .resourceUri("string")
    .type("string")
    .createdAt("string")
    .createdBy("string")
    .createdByType("string")
    .endpointName("string")
    .lastModifiedAt("string")
    .lastModifiedBy("string")
    .lastModifiedByType("string")
    .resourceId("string")
    .build());
azure_native_endpoint_resource = azure_native.hybridconnectivity.Endpoint("azure-nativeEndpointResource",
    resource_uri=string,
    type=string,
    created_at=string,
    created_by=string,
    created_by_type=string,
    endpoint_name=string,
    last_modified_at=string,
    last_modified_by=string,
    last_modified_by_type=string,
    resource_id=string)
const azure_nativeEndpointResource = new azure_native.hybridconnectivity.Endpoint("azure-nativeEndpointResource", {
    resourceUri: "string",
    type: "string",
    createdAt: "string",
    createdBy: "string",
    createdByType: "string",
    endpointName: "string",
    lastModifiedAt: "string",
    lastModifiedBy: "string",
    lastModifiedByType: "string",
    resourceId: "string",
});
type: azure-native:hybridconnectivity:Endpoint
properties:
    createdAt: string
    createdBy: string
    createdByType: string
    endpointName: string
    lastModifiedAt: string
    lastModifiedBy: string
    lastModifiedByType: string
    resourceId: string
    resourceUri: string
    type: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Endpoint resource accepts the following input properties:
- ResourceUri string
- The fully qualified Azure Resource manager identifier of the resource to be connected.
- Type
string | Pulumi.Azure Native. Hybrid Connectivity. Type 
- The type of endpoint.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy string | Pulumi.Type Azure Native. Hybrid Connectivity. Created By Type 
- The type of identity that created the resource.
- EndpointName string
- The endpoint name.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified string | Pulumi.By Type Azure Native. Hybrid Connectivity. Created By Type 
- The type of identity that last modified the resource.
- ResourceId string
- The resource Id of the connectivity endpoint (optional).
- ResourceUri string
- The fully qualified Azure Resource manager identifier of the resource to be connected.
- Type string | Type
- The type of endpoint.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy string | CreatedType By Type 
- The type of identity that created the resource.
- EndpointName string
- The endpoint name.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified string | CreatedBy Type By Type 
- The type of identity that last modified the resource.
- ResourceId string
- The resource Id of the connectivity endpoint (optional).
- resourceUri String
- The fully qualified Azure Resource manager identifier of the resource to be connected.
- type String | Type
- The type of endpoint.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy String | CreatedType By Type 
- The type of identity that created the resource.
- endpointName String
- The endpoint name.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified String | CreatedBy Type By Type 
- The type of identity that last modified the resource.
- resourceId String
- The resource Id of the connectivity endpoint (optional).
- resourceUri string
- The fully qualified Azure Resource manager identifier of the resource to be connected.
- type string | Type
- The type of endpoint.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy string | CreatedType By Type 
- The type of identity that created the resource.
- endpointName string
- The endpoint name.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified string | CreatedBy Type By Type 
- The type of identity that last modified the resource.
- resourceId string
- The resource Id of the connectivity endpoint (optional).
- resource_uri str
- The fully qualified Azure Resource manager identifier of the resource to be connected.
- type str | Type
- The type of endpoint.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ str | Createdtype By Type 
- The type of identity that created the resource.
- endpoint_name str
- The endpoint name.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ str | Createdby_ type By Type 
- The type of identity that last modified the resource.
- resource_id str
- The resource Id of the connectivity endpoint (optional).
- resourceUri String
- The fully qualified Azure Resource manager identifier of the resource to be connected.
- type String | "default" | "custom"
- The type of endpoint.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy String | "User" | "Application" | "ManagedType Identity" | "Key" 
- The type of identity that created the resource.
- endpointName String
- The endpoint name.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified String | "User" | "Application" | "ManagedBy Type Identity" | "Key" 
- The type of identity that last modified the resource.
- resourceId String
- The resource Id of the connectivity endpoint (optional).
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
- ProvisioningState string
- The resource provisioning state.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- ProvisioningState string
- The resource provisioning state.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioningState String
- The resource provisioning state.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioningState string
- The resource provisioning state.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_state str
- The resource provisioning state.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioningState String
- The resource provisioning state.
Supporting Types
CreatedByType, CreatedByTypeArgs      
- User
- User
- Application
- Application
- ManagedIdentity 
- ManagedIdentity
- Key
- Key
- CreatedBy Type User 
- User
- CreatedBy Type Application 
- Application
- CreatedBy Type Managed Identity 
- ManagedIdentity
- CreatedBy Type Key 
- 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
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 /subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0