1. Packages
  2. Mso Provider
  3. API Docs
  4. SchemaSiteAnp
mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet

mso.SchemaSiteAnp

Explore with Pulumi AI

mso logo
mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet

    Create SchemaSiteAnp Resource

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

    Constructor syntax

    new SchemaSiteAnp(name: string, args: SchemaSiteAnpArgs, opts?: CustomResourceOptions);
    @overload
    def SchemaSiteAnp(resource_name: str,
                      args: SchemaSiteAnpArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def SchemaSiteAnp(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      anp_name: Optional[str] = None,
                      schema_id: Optional[str] = None,
                      site_id: Optional[str] = None,
                      template_name: Optional[str] = None,
                      schema_site_anp_id: Optional[str] = None)
    func NewSchemaSiteAnp(ctx *Context, name string, args SchemaSiteAnpArgs, opts ...ResourceOption) (*SchemaSiteAnp, error)
    public SchemaSiteAnp(string name, SchemaSiteAnpArgs args, CustomResourceOptions? opts = null)
    public SchemaSiteAnp(String name, SchemaSiteAnpArgs args)
    public SchemaSiteAnp(String name, SchemaSiteAnpArgs args, CustomResourceOptions options)
    
    type: mso:SchemaSiteAnp
    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 SchemaSiteAnpArgs
    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 SchemaSiteAnpArgs
    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 SchemaSiteAnpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SchemaSiteAnpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SchemaSiteAnpArgs
    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 schemaSiteAnpResource = new Mso.SchemaSiteAnp("schemaSiteAnpResource", new()
    {
        AnpName = "string",
        SchemaId = "string",
        SiteId = "string",
        TemplateName = "string",
        SchemaSiteAnpId = "string",
    });
    
    example, err := mso.NewSchemaSiteAnp(ctx, "schemaSiteAnpResource", &mso.SchemaSiteAnpArgs{
    	AnpName:         pulumi.String("string"),
    	SchemaId:        pulumi.String("string"),
    	SiteId:          pulumi.String("string"),
    	TemplateName:    pulumi.String("string"),
    	SchemaSiteAnpId: pulumi.String("string"),
    })
    
    var schemaSiteAnpResource = new SchemaSiteAnp("schemaSiteAnpResource", SchemaSiteAnpArgs.builder()
        .anpName("string")
        .schemaId("string")
        .siteId("string")
        .templateName("string")
        .schemaSiteAnpId("string")
        .build());
    
    schema_site_anp_resource = mso.SchemaSiteAnp("schemaSiteAnpResource",
        anp_name="string",
        schema_id="string",
        site_id="string",
        template_name="string",
        schema_site_anp_id="string")
    
    const schemaSiteAnpResource = new mso.SchemaSiteAnp("schemaSiteAnpResource", {
        anpName: "string",
        schemaId: "string",
        siteId: "string",
        templateName: "string",
        schemaSiteAnpId: "string",
    });
    
    type: mso:SchemaSiteAnp
    properties:
        anpName: string
        schemaId: string
        schemaSiteAnpId: string
        siteId: string
        templateName: string
    

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

    AnpName string
    SchemaId string
    SiteId string
    TemplateName string
    SchemaSiteAnpId string
    AnpName string
    SchemaId string
    SiteId string
    TemplateName string
    SchemaSiteAnpId string
    anpName String
    schemaId String
    siteId String
    templateName String
    schemaSiteAnpId String
    anpName string
    schemaId string
    siteId string
    templateName string
    schemaSiteAnpId string
    anpName String
    schemaId String
    siteId String
    templateName String
    schemaSiteAnpId String

    Outputs

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

    Get an existing SchemaSiteAnp 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?: SchemaSiteAnpState, opts?: CustomResourceOptions): SchemaSiteAnp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            anp_name: Optional[str] = None,
            schema_id: Optional[str] = None,
            schema_site_anp_id: Optional[str] = None,
            site_id: Optional[str] = None,
            template_name: Optional[str] = None) -> SchemaSiteAnp
    func GetSchemaSiteAnp(ctx *Context, name string, id IDInput, state *SchemaSiteAnpState, opts ...ResourceOption) (*SchemaSiteAnp, error)
    public static SchemaSiteAnp Get(string name, Input<string> id, SchemaSiteAnpState? state, CustomResourceOptions? opts = null)
    public static SchemaSiteAnp get(String name, Output<String> id, SchemaSiteAnpState state, CustomResourceOptions options)
    resources:  _:    type: mso:SchemaSiteAnp    get:      id: ${id}
    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:
    AnpName string
    SchemaId string
    SchemaSiteAnpId string
    SiteId string
    TemplateName string
    AnpName string
    SchemaId string
    SchemaSiteAnpId string
    SiteId string
    TemplateName string
    anpName String
    schemaId String
    schemaSiteAnpId String
    siteId String
    templateName String
    anpName string
    schemaId string
    schemaSiteAnpId string
    siteId string
    templateName string
    anpName String
    schemaId String
    schemaSiteAnpId String
    siteId String
    templateName String

    Package Details

    Repository
    mso ciscodevnet/terraform-provider-mso
    License
    Notes
    This Pulumi package is based on the mso Terraform Provider.
    mso logo
    mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet