mso.SchemaSite
Explore with Pulumi AI
Create SchemaSite Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SchemaSite(name: string, args: SchemaSiteArgs, opts?: CustomResourceOptions);
@overload
def SchemaSite(resource_name: str,
args: SchemaSiteArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SchemaSite(resource_name: str,
opts: Optional[ResourceOptions] = None,
schema_id: Optional[str] = None,
site_id: Optional[str] = None,
template_name: Optional[str] = None,
schema_site_id: Optional[str] = None,
undeploy_on_destroy: Optional[bool] = None)
func NewSchemaSite(ctx *Context, name string, args SchemaSiteArgs, opts ...ResourceOption) (*SchemaSite, error)
public SchemaSite(string name, SchemaSiteArgs args, CustomResourceOptions? opts = null)
public SchemaSite(String name, SchemaSiteArgs args)
public SchemaSite(String name, SchemaSiteArgs args, CustomResourceOptions options)
type: mso:SchemaSite
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 SchemaSiteArgs
- 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 SchemaSiteArgs
- 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 SchemaSiteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaSiteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchemaSiteArgs
- 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 schemaSiteResource = new Mso.SchemaSite("schemaSiteResource", new()
{
SchemaId = "string",
SiteId = "string",
TemplateName = "string",
SchemaSiteId = "string",
UndeployOnDestroy = false,
});
example, err := mso.NewSchemaSite(ctx, "schemaSiteResource", &mso.SchemaSiteArgs{
SchemaId: pulumi.String("string"),
SiteId: pulumi.String("string"),
TemplateName: pulumi.String("string"),
SchemaSiteId: pulumi.String("string"),
UndeployOnDestroy: pulumi.Bool(false),
})
var schemaSiteResource = new SchemaSite("schemaSiteResource", SchemaSiteArgs.builder()
.schemaId("string")
.siteId("string")
.templateName("string")
.schemaSiteId("string")
.undeployOnDestroy(false)
.build());
schema_site_resource = mso.SchemaSite("schemaSiteResource",
schema_id="string",
site_id="string",
template_name="string",
schema_site_id="string",
undeploy_on_destroy=False)
const schemaSiteResource = new mso.SchemaSite("schemaSiteResource", {
schemaId: "string",
siteId: "string",
templateName: "string",
schemaSiteId: "string",
undeployOnDestroy: false,
});
type: mso:SchemaSite
properties:
schemaId: string
schemaSiteId: string
siteId: string
templateName: string
undeployOnDestroy: false
SchemaSite 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 SchemaSite resource accepts the following input properties:
- Schema
Id string - Site
Id string - Template
Name string - Schema
Site stringId - Undeploy
On boolDestroy
- Schema
Id string - Site
Id string - Template
Name string - Schema
Site stringId - Undeploy
On boolDestroy
- schema
Id String - site
Id String - template
Name String - schema
Site StringId - undeploy
On BooleanDestroy
- schema
Id string - site
Id string - template
Name string - schema
Site stringId - undeploy
On booleanDestroy
- schema_
id str - site_
id str - template_
name str - schema_
site_ strid - undeploy_
on_ booldestroy
- schema
Id String - site
Id String - template
Name String - schema
Site StringId - undeploy
On BooleanDestroy
Outputs
All input properties are implicitly available as output properties. Additionally, the SchemaSite 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 SchemaSite Resource
Get an existing SchemaSite 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?: SchemaSiteState, opts?: CustomResourceOptions): SchemaSite
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
schema_id: Optional[str] = None,
schema_site_id: Optional[str] = None,
site_id: Optional[str] = None,
template_name: Optional[str] = None,
undeploy_on_destroy: Optional[bool] = None) -> SchemaSite
func GetSchemaSite(ctx *Context, name string, id IDInput, state *SchemaSiteState, opts ...ResourceOption) (*SchemaSite, error)
public static SchemaSite Get(string name, Input<string> id, SchemaSiteState? state, CustomResourceOptions? opts = null)
public static SchemaSite get(String name, Output<String> id, SchemaSiteState state, CustomResourceOptions options)
resources: _: type: mso:SchemaSite 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.
- Schema
Id string - Schema
Site stringId - Site
Id string - Template
Name string - Undeploy
On boolDestroy
- Schema
Id string - Schema
Site stringId - Site
Id string - Template
Name string - Undeploy
On boolDestroy
- schema
Id String - schema
Site StringId - site
Id String - template
Name String - undeploy
On BooleanDestroy
- schema
Id string - schema
Site stringId - site
Id string - template
Name string - undeploy
On booleanDestroy
- schema_
id str - schema_
site_ strid - site_
id str - template_
name str - undeploy_
on_ booldestroy
- schema
Id String - schema
Site StringId - site
Id String - template
Name String - undeploy
On BooleanDestroy
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.