1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. message
  5. ServiceEndpoint
Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi

alicloud.message.ServiceEndpoint

Explore with Pulumi AI

Import

Message Service Endpoint can be imported using the id, e.g.

$ pulumi import alicloud:message/serviceEndpoint:ServiceEndpoint example <id>
Copy

Create ServiceEndpoint Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ServiceEndpoint(name: string, args: ServiceEndpointArgs, opts?: CustomResourceOptions);
@overload
def ServiceEndpoint(resource_name: str,
                    args: ServiceEndpointArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def ServiceEndpoint(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    endpoint_enabled: Optional[bool] = None,
                    endpoint_type: Optional[str] = None)
func NewServiceEndpoint(ctx *Context, name string, args ServiceEndpointArgs, opts ...ResourceOption) (*ServiceEndpoint, error)
public ServiceEndpoint(string name, ServiceEndpointArgs args, CustomResourceOptions? opts = null)
public ServiceEndpoint(String name, ServiceEndpointArgs args)
public ServiceEndpoint(String name, ServiceEndpointArgs args, CustomResourceOptions options)
type: alicloud:message:ServiceEndpoint
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. ServiceEndpointArgs
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. ServiceEndpointArgs
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. ServiceEndpointArgs
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. ServiceEndpointArgs
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. ServiceEndpointArgs
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 serviceEndpointResource = new AliCloud.Message.ServiceEndpoint("serviceEndpointResource", new()
{
    EndpointEnabled = false,
    EndpointType = "string",
});
Copy
example, err := message.NewServiceEndpoint(ctx, "serviceEndpointResource", &message.ServiceEndpointArgs{
	EndpointEnabled: pulumi.Bool(false),
	EndpointType:    pulumi.String("string"),
})
Copy
var serviceEndpointResource = new ServiceEndpoint("serviceEndpointResource", ServiceEndpointArgs.builder()
    .endpointEnabled(false)
    .endpointType("string")
    .build());
Copy
service_endpoint_resource = alicloud.message.ServiceEndpoint("serviceEndpointResource",
    endpoint_enabled=False,
    endpoint_type="string")
Copy
const serviceEndpointResource = new alicloud.message.ServiceEndpoint("serviceEndpointResource", {
    endpointEnabled: false,
    endpointType: "string",
});
Copy
type: alicloud:message:ServiceEndpoint
properties:
    endpointEnabled: false
    endpointType: string
Copy

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

EndpointEnabled This property is required. bool
Specifies whether the endpoint is enabled. Valid values:
EndpointType
This property is required.
Changes to this property will trigger replacement.
string
Access point type. Value:

  • public: indicates a public access point. (Currently only public is supported)
EndpointEnabled This property is required. bool
Specifies whether the endpoint is enabled. Valid values:
EndpointType
This property is required.
Changes to this property will trigger replacement.
string
Access point type. Value:

  • public: indicates a public access point. (Currently only public is supported)
endpointEnabled This property is required. Boolean
Specifies whether the endpoint is enabled. Valid values:
endpointType
This property is required.
Changes to this property will trigger replacement.
String
Access point type. Value:

  • public: indicates a public access point. (Currently only public is supported)
endpointEnabled This property is required. boolean
Specifies whether the endpoint is enabled. Valid values:
endpointType
This property is required.
Changes to this property will trigger replacement.
string
Access point type. Value:

  • public: indicates a public access point. (Currently only public is supported)
endpoint_enabled This property is required. bool
Specifies whether the endpoint is enabled. Valid values:
endpoint_type
This property is required.
Changes to this property will trigger replacement.
str
Access point type. Value:

  • public: indicates a public access point. (Currently only public is supported)
endpointEnabled This property is required. Boolean
Specifies whether the endpoint is enabled. Valid values:
endpointType
This property is required.
Changes to this property will trigger replacement.
String
Access point type. Value:

  • public: indicates a public access point. (Currently only public is supported)

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ServiceEndpoint Resource

Get an existing ServiceEndpoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ServiceEndpointState, opts?: CustomResourceOptions): ServiceEndpoint
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        endpoint_enabled: Optional[bool] = None,
        endpoint_type: Optional[str] = None) -> ServiceEndpoint
func GetServiceEndpoint(ctx *Context, name string, id IDInput, state *ServiceEndpointState, opts ...ResourceOption) (*ServiceEndpoint, error)
public static ServiceEndpoint Get(string name, Input<string> id, ServiceEndpointState? state, CustomResourceOptions? opts = null)
public static ServiceEndpoint get(String name, Output<String> id, ServiceEndpointState state, CustomResourceOptions options)
resources:  _:    type: alicloud:message:ServiceEndpoint    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
EndpointEnabled bool
Specifies whether the endpoint is enabled. Valid values:
EndpointType Changes to this property will trigger replacement. string
Access point type. Value:

  • public: indicates a public access point. (Currently only public is supported)
EndpointEnabled bool
Specifies whether the endpoint is enabled. Valid values:
EndpointType Changes to this property will trigger replacement. string
Access point type. Value:

  • public: indicates a public access point. (Currently only public is supported)
endpointEnabled Boolean
Specifies whether the endpoint is enabled. Valid values:
endpointType Changes to this property will trigger replacement. String
Access point type. Value:

  • public: indicates a public access point. (Currently only public is supported)
endpointEnabled boolean
Specifies whether the endpoint is enabled. Valid values:
endpointType Changes to this property will trigger replacement. string
Access point type. Value:

  • public: indicates a public access point. (Currently only public is supported)
endpoint_enabled bool
Specifies whether the endpoint is enabled. Valid values:
endpoint_type Changes to this property will trigger replacement. str
Access point type. Value:

  • public: indicates a public access point. (Currently only public is supported)
endpointEnabled Boolean
Specifies whether the endpoint is enabled. Valid values:
endpointType Changes to this property will trigger replacement. String
Access point type. Value:

  • public: indicates a public access point. (Currently only public is supported)

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.