alicloud.servicemesh.ExtensionProvider
Explore with Pulumi AI
Provides a Service Mesh Extension Provider resource.
For information about Service Mesh Extension Provider and how to use it, see What is Extension Provider.
NOTE: Available since v1.191.0.
Create ExtensionProvider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExtensionProvider(name: string, args: ExtensionProviderArgs, opts?: CustomResourceOptions);
@overload
def ExtensionProvider(resource_name: str,
args: ExtensionProviderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ExtensionProvider(resource_name: str,
opts: Optional[ResourceOptions] = None,
config: Optional[str] = None,
extension_provider_name: Optional[str] = None,
service_mesh_id: Optional[str] = None,
type: Optional[str] = None)
func NewExtensionProvider(ctx *Context, name string, args ExtensionProviderArgs, opts ...ResourceOption) (*ExtensionProvider, error)
public ExtensionProvider(string name, ExtensionProviderArgs args, CustomResourceOptions? opts = null)
public ExtensionProvider(String name, ExtensionProviderArgs args)
public ExtensionProvider(String name, ExtensionProviderArgs args, CustomResourceOptions options)
type: alicloud:servicemesh:ExtensionProvider
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 ExtensionProviderArgs
- 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 ExtensionProviderArgs
- 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 ExtensionProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExtensionProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExtensionProviderArgs
- 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 extensionProviderResource = new AliCloud.ServiceMesh.ExtensionProvider("extensionProviderResource", new()
{
Config = "string",
ExtensionProviderName = "string",
ServiceMeshId = "string",
Type = "string",
});
example, err := servicemesh.NewExtensionProvider(ctx, "extensionProviderResource", &servicemesh.ExtensionProviderArgs{
Config: pulumi.String("string"),
ExtensionProviderName: pulumi.String("string"),
ServiceMeshId: pulumi.String("string"),
Type: pulumi.String("string"),
})
var extensionProviderResource = new ExtensionProvider("extensionProviderResource", ExtensionProviderArgs.builder()
.config("string")
.extensionProviderName("string")
.serviceMeshId("string")
.type("string")
.build());
extension_provider_resource = alicloud.servicemesh.ExtensionProvider("extensionProviderResource",
config="string",
extension_provider_name="string",
service_mesh_id="string",
type="string")
const extensionProviderResource = new alicloud.servicemesh.ExtensionProvider("extensionProviderResource", {
config: "string",
extensionProviderName: "string",
serviceMeshId: "string",
type: "string",
});
type: alicloud:servicemesh:ExtensionProvider
properties:
config: string
extensionProviderName: string
serviceMeshId: string
type: string
ExtensionProvider 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 ExtensionProvider resource accepts the following input properties:
- Config string
- The config of the Service Mesh Extension Provider. The
config
format is json. - Extension
Provider stringName - The name of the Service Mesh Extension Provider. It must be prefixed with
$type-
, for examplehttpextauth-xxx
,grpcextauth-xxx
. - Service
Mesh stringId - The ID of the Service Mesh.
- Type string
- The type of the Service Mesh Extension Provider. Valid values:
httpextauth
,grpcextauth
.
- Config string
- The config of the Service Mesh Extension Provider. The
config
format is json. - Extension
Provider stringName - The name of the Service Mesh Extension Provider. It must be prefixed with
$type-
, for examplehttpextauth-xxx
,grpcextauth-xxx
. - Service
Mesh stringId - The ID of the Service Mesh.
- Type string
- The type of the Service Mesh Extension Provider. Valid values:
httpextauth
,grpcextauth
.
- config String
- The config of the Service Mesh Extension Provider. The
config
format is json. - extension
Provider StringName - The name of the Service Mesh Extension Provider. It must be prefixed with
$type-
, for examplehttpextauth-xxx
,grpcextauth-xxx
. - service
Mesh StringId - The ID of the Service Mesh.
- type String
- The type of the Service Mesh Extension Provider. Valid values:
httpextauth
,grpcextauth
.
- config string
- The config of the Service Mesh Extension Provider. The
config
format is json. - extension
Provider stringName - The name of the Service Mesh Extension Provider. It must be prefixed with
$type-
, for examplehttpextauth-xxx
,grpcextauth-xxx
. - service
Mesh stringId - The ID of the Service Mesh.
- type string
- The type of the Service Mesh Extension Provider. Valid values:
httpextauth
,grpcextauth
.
- config str
- The config of the Service Mesh Extension Provider. The
config
format is json. - extension_
provider_ strname - The name of the Service Mesh Extension Provider. It must be prefixed with
$type-
, for examplehttpextauth-xxx
,grpcextauth-xxx
. - service_
mesh_ strid - The ID of the Service Mesh.
- type str
- The type of the Service Mesh Extension Provider. Valid values:
httpextauth
,grpcextauth
.
- config String
- The config of the Service Mesh Extension Provider. The
config
format is json. - extension
Provider StringName - The name of the Service Mesh Extension Provider. It must be prefixed with
$type-
, for examplehttpextauth-xxx
,grpcextauth-xxx
. - service
Mesh StringId - The ID of the Service Mesh.
- type String
- The type of the Service Mesh Extension Provider. Valid values:
httpextauth
,grpcextauth
.
Outputs
All input properties are implicitly available as output properties. Additionally, the ExtensionProvider 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 ExtensionProvider Resource
Get an existing ExtensionProvider 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?: ExtensionProviderState, opts?: CustomResourceOptions): ExtensionProvider
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config: Optional[str] = None,
extension_provider_name: Optional[str] = None,
service_mesh_id: Optional[str] = None,
type: Optional[str] = None) -> ExtensionProvider
func GetExtensionProvider(ctx *Context, name string, id IDInput, state *ExtensionProviderState, opts ...ResourceOption) (*ExtensionProvider, error)
public static ExtensionProvider Get(string name, Input<string> id, ExtensionProviderState? state, CustomResourceOptions? opts = null)
public static ExtensionProvider get(String name, Output<String> id, ExtensionProviderState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Config string
- The config of the Service Mesh Extension Provider. The
config
format is json. - Extension
Provider stringName - The name of the Service Mesh Extension Provider. It must be prefixed with
$type-
, for examplehttpextauth-xxx
,grpcextauth-xxx
. - Service
Mesh stringId - The ID of the Service Mesh.
- Type string
- The type of the Service Mesh Extension Provider. Valid values:
httpextauth
,grpcextauth
.
- Config string
- The config of the Service Mesh Extension Provider. The
config
format is json. - Extension
Provider stringName - The name of the Service Mesh Extension Provider. It must be prefixed with
$type-
, for examplehttpextauth-xxx
,grpcextauth-xxx
. - Service
Mesh stringId - The ID of the Service Mesh.
- Type string
- The type of the Service Mesh Extension Provider. Valid values:
httpextauth
,grpcextauth
.
- config String
- The config of the Service Mesh Extension Provider. The
config
format is json. - extension
Provider StringName - The name of the Service Mesh Extension Provider. It must be prefixed with
$type-
, for examplehttpextauth-xxx
,grpcextauth-xxx
. - service
Mesh StringId - The ID of the Service Mesh.
- type String
- The type of the Service Mesh Extension Provider. Valid values:
httpextauth
,grpcextauth
.
- config string
- The config of the Service Mesh Extension Provider. The
config
format is json. - extension
Provider stringName - The name of the Service Mesh Extension Provider. It must be prefixed with
$type-
, for examplehttpextauth-xxx
,grpcextauth-xxx
. - service
Mesh stringId - The ID of the Service Mesh.
- type string
- The type of the Service Mesh Extension Provider. Valid values:
httpextauth
,grpcextauth
.
- config str
- The config of the Service Mesh Extension Provider. The
config
format is json. - extension_
provider_ strname - The name of the Service Mesh Extension Provider. It must be prefixed with
$type-
, for examplehttpextauth-xxx
,grpcextauth-xxx
. - service_
mesh_ strid - The ID of the Service Mesh.
- type str
- The type of the Service Mesh Extension Provider. Valid values:
httpextauth
,grpcextauth
.
- config String
- The config of the Service Mesh Extension Provider. The
config
format is json. - extension
Provider StringName - The name of the Service Mesh Extension Provider. It must be prefixed with
$type-
, for examplehttpextauth-xxx
,grpcextauth-xxx
. - service
Mesh StringId - The ID of the Service Mesh.
- type String
- The type of the Service Mesh Extension Provider. Valid values:
httpextauth
,grpcextauth
.
Import
Service Mesh Extension Provider can be imported using the id, e.g.
$ pulumi import alicloud:servicemesh/extensionProvider:ExtensionProvider example <service_mesh_id>:<type>:<extension_provider_name>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.