Alibaba Cloud

Pulumi Official
Package maintained by Pulumi
v3.21.0 published on Tuesday, Jun 14, 2022 by Pulumi

MscSubContract

Provides a Msc Sub Contact resource.

NOTE: Available in v1.132.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var @default = new AliCloud.MscSubContract("default", new AliCloud.MscSubContractArgs
        {
            ContactName = example_value,
            Position = "CEO",
            Email = "123@163.com",
            Mobile = "153xxxxx906",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := alicloud.NewMscSubContract(ctx, "default", &alicloud.MscSubContractArgs{
			ContactName: pulumi.Any(example_value),
			Position:    pulumi.String("CEO"),
			Email:       pulumi.String("123@163.com"),
			Mobile:      pulumi.String("153xxxxx906"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

default = alicloud.MscSubContract("default",
    contact_name=example_value,
    position="CEO",
    email="123@163.com",
    mobile="153xxxxx906")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const _default = new alicloud.MscSubContract("default", {
    contactName: example_value,
    position: "CEO",
    email: "123@163.com",
    mobile: "153xxxxx906",
});

Coming soon!

Create a MscSubContract Resource

new MscSubContract(name: string, args: MscSubContractArgs, opts?: CustomResourceOptions);
@overload
def MscSubContract(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   contact_name: Optional[str] = None,
                   email: Optional[str] = None,
                   mobile: Optional[str] = None,
                   position: Optional[str] = None)
@overload
def MscSubContract(resource_name: str,
                   args: MscSubContractArgs,
                   opts: Optional[ResourceOptions] = None)
func NewMscSubContract(ctx *Context, name string, args MscSubContractArgs, opts ...ResourceOption) (*MscSubContract, error)
public MscSubContract(string name, MscSubContractArgs args, CustomResourceOptions? opts = null)
public MscSubContract(String name, MscSubContractArgs args)
public MscSubContract(String name, MscSubContractArgs args, CustomResourceOptions options)
type: alicloud:MscSubContract
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args MscSubContractArgs
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 MscSubContractArgs
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 MscSubContractArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args MscSubContractArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args MscSubContractArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

ContactName string

The User's Contact Name. Note: The name must be 2 to 12 characters in length.

Email string

The User's Contact Email Address.

Mobile string

The User's Telephone.

Position string

The User's Position. Valid values: CEO, Technical Director, Maintenance Director, Project Director,Finance Director and Other.

ContactName string

The User's Contact Name. Note: The name must be 2 to 12 characters in length.

Email string

The User's Contact Email Address.

Mobile string

The User's Telephone.

Position string

The User's Position. Valid values: CEO, Technical Director, Maintenance Director, Project Director,Finance Director and Other.

contactName String

The User's Contact Name. Note: The name must be 2 to 12 characters in length.

email String

The User's Contact Email Address.

mobile String

The User's Telephone.

position String

The User's Position. Valid values: CEO, Technical Director, Maintenance Director, Project Director,Finance Director and Other.

contactName string

The User's Contact Name. Note: The name must be 2 to 12 characters in length.

email string

The User's Contact Email Address.

mobile string

The User's Telephone.

position string

The User's Position. Valid values: CEO, Technical Director, Maintenance Director, Project Director,Finance Director and Other.

contact_name str

The User's Contact Name. Note: The name must be 2 to 12 characters in length.

email str

The User's Contact Email Address.

mobile str

The User's Telephone.

position str

The User's Position. Valid values: CEO, Technical Director, Maintenance Director, Project Director,Finance Director and Other.

contactName String

The User's Contact Name. Note: The name must be 2 to 12 characters in length.

email String

The User's Contact Email Address.

mobile String

The User's Telephone.

position String

The User's Position. Valid values: CEO, Technical Director, Maintenance Director, Project Director,Finance Director and Other.

Outputs

All input properties are implicitly available as output properties. Additionally, the MscSubContract 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 an Existing MscSubContract Resource

Get an existing MscSubContract 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?: MscSubContractState, opts?: CustomResourceOptions): MscSubContract
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        contact_name: Optional[str] = None,
        email: Optional[str] = None,
        mobile: Optional[str] = None,
        position: Optional[str] = None) -> MscSubContract
func GetMscSubContract(ctx *Context, name string, id IDInput, state *MscSubContractState, opts ...ResourceOption) (*MscSubContract, error)
public static MscSubContract Get(string name, Input<string> id, MscSubContractState? state, CustomResourceOptions? opts = null)
public static MscSubContract get(String name, Output<String> id, MscSubContractState 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.
The following state arguments are supported:
ContactName string

The User's Contact Name. Note: The name must be 2 to 12 characters in length.

Email string

The User's Contact Email Address.

Mobile string

The User's Telephone.

Position string

The User's Position. Valid values: CEO, Technical Director, Maintenance Director, Project Director,Finance Director and Other.

ContactName string

The User's Contact Name. Note: The name must be 2 to 12 characters in length.

Email string

The User's Contact Email Address.

Mobile string

The User's Telephone.

Position string

The User's Position. Valid values: CEO, Technical Director, Maintenance Director, Project Director,Finance Director and Other.

contactName String

The User's Contact Name. Note: The name must be 2 to 12 characters in length.

email String

The User's Contact Email Address.

mobile String

The User's Telephone.

position String

The User's Position. Valid values: CEO, Technical Director, Maintenance Director, Project Director,Finance Director and Other.

contactName string

The User's Contact Name. Note: The name must be 2 to 12 characters in length.

email string

The User's Contact Email Address.

mobile string

The User's Telephone.

position string

The User's Position. Valid values: CEO, Technical Director, Maintenance Director, Project Director,Finance Director and Other.

contact_name str

The User's Contact Name. Note: The name must be 2 to 12 characters in length.

email str

The User's Contact Email Address.

mobile str

The User's Telephone.

position str

The User's Position. Valid values: CEO, Technical Director, Maintenance Director, Project Director,Finance Director and Other.

contactName String

The User's Contact Name. Note: The name must be 2 to 12 characters in length.

email String

The User's Contact Email Address.

mobile String

The User's Telephone.

position String

The User's Position. Valid values: CEO, Technical Director, Maintenance Director, Project Director,Finance Director and Other.

Import

Msc Sub Contact can be imported using the id, e.g.

 $ pulumi import alicloud:index/mscSubContract:MscSubContract example <id>

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.