mso.SchemaSiteContractServiceGraph
Explore with Pulumi AI
Create SchemaSiteContractServiceGraph Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SchemaSiteContractServiceGraph(name: string, args: SchemaSiteContractServiceGraphArgs, opts?: CustomResourceOptions);
@overload
def SchemaSiteContractServiceGraph(resource_name: str,
args: SchemaSiteContractServiceGraphArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SchemaSiteContractServiceGraph(resource_name: str,
opts: Optional[ResourceOptions] = None,
contract_name: Optional[str] = None,
schema_id: Optional[str] = None,
service_graph_name: Optional[str] = None,
site_id: Optional[str] = None,
template_name: Optional[str] = None,
node_relationships: Optional[Sequence[SchemaSiteContractServiceGraphNodeRelationshipArgs]] = None,
schema_site_contract_service_graph_id: Optional[str] = None,
service_graph_schema_id: Optional[str] = None,
service_graph_template_name: Optional[str] = None)
func NewSchemaSiteContractServiceGraph(ctx *Context, name string, args SchemaSiteContractServiceGraphArgs, opts ...ResourceOption) (*SchemaSiteContractServiceGraph, error)
public SchemaSiteContractServiceGraph(string name, SchemaSiteContractServiceGraphArgs args, CustomResourceOptions? opts = null)
public SchemaSiteContractServiceGraph(String name, SchemaSiteContractServiceGraphArgs args)
public SchemaSiteContractServiceGraph(String name, SchemaSiteContractServiceGraphArgs args, CustomResourceOptions options)
type: mso:SchemaSiteContractServiceGraph
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 SchemaSiteContractServiceGraphArgs
- 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 SchemaSiteContractServiceGraphArgs
- 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 SchemaSiteContractServiceGraphArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaSiteContractServiceGraphArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchemaSiteContractServiceGraphArgs
- 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 schemaSiteContractServiceGraphResource = new Mso.SchemaSiteContractServiceGraph("schemaSiteContractServiceGraphResource", new()
{
ContractName = "string",
SchemaId = "string",
ServiceGraphName = "string",
SiteId = "string",
TemplateName = "string",
NodeRelationships = new[]
{
new Mso.Inputs.SchemaSiteContractServiceGraphNodeRelationshipArgs
{
ConsumerConnectorClusterInterface = "string",
ProviderConnectorClusterInterface = "string",
ConsumerConnectorRedirectPolicy = "string",
ConsumerConnectorRedirectPolicyTenant = "string",
ConsumerSubnetIps = new[]
{
"string",
},
ProviderConnectorRedirectPolicy = "string",
ProviderConnectorRedirectPolicyTenant = "string",
},
},
SchemaSiteContractServiceGraphId = "string",
ServiceGraphSchemaId = "string",
ServiceGraphTemplateName = "string",
});
example, err := mso.NewSchemaSiteContractServiceGraph(ctx, "schemaSiteContractServiceGraphResource", &mso.SchemaSiteContractServiceGraphArgs{
ContractName: pulumi.String("string"),
SchemaId: pulumi.String("string"),
ServiceGraphName: pulumi.String("string"),
SiteId: pulumi.String("string"),
TemplateName: pulumi.String("string"),
NodeRelationships: mso.SchemaSiteContractServiceGraphNodeRelationshipArray{
&mso.SchemaSiteContractServiceGraphNodeRelationshipArgs{
ConsumerConnectorClusterInterface: pulumi.String("string"),
ProviderConnectorClusterInterface: pulumi.String("string"),
ConsumerConnectorRedirectPolicy: pulumi.String("string"),
ConsumerConnectorRedirectPolicyTenant: pulumi.String("string"),
ConsumerSubnetIps: pulumi.StringArray{
pulumi.String("string"),
},
ProviderConnectorRedirectPolicy: pulumi.String("string"),
ProviderConnectorRedirectPolicyTenant: pulumi.String("string"),
},
},
SchemaSiteContractServiceGraphId: pulumi.String("string"),
ServiceGraphSchemaId: pulumi.String("string"),
ServiceGraphTemplateName: pulumi.String("string"),
})
var schemaSiteContractServiceGraphResource = new SchemaSiteContractServiceGraph("schemaSiteContractServiceGraphResource", SchemaSiteContractServiceGraphArgs.builder()
.contractName("string")
.schemaId("string")
.serviceGraphName("string")
.siteId("string")
.templateName("string")
.nodeRelationships(SchemaSiteContractServiceGraphNodeRelationshipArgs.builder()
.consumerConnectorClusterInterface("string")
.providerConnectorClusterInterface("string")
.consumerConnectorRedirectPolicy("string")
.consumerConnectorRedirectPolicyTenant("string")
.consumerSubnetIps("string")
.providerConnectorRedirectPolicy("string")
.providerConnectorRedirectPolicyTenant("string")
.build())
.schemaSiteContractServiceGraphId("string")
.serviceGraphSchemaId("string")
.serviceGraphTemplateName("string")
.build());
schema_site_contract_service_graph_resource = mso.SchemaSiteContractServiceGraph("schemaSiteContractServiceGraphResource",
contract_name="string",
schema_id="string",
service_graph_name="string",
site_id="string",
template_name="string",
node_relationships=[{
"consumer_connector_cluster_interface": "string",
"provider_connector_cluster_interface": "string",
"consumer_connector_redirect_policy": "string",
"consumer_connector_redirect_policy_tenant": "string",
"consumer_subnet_ips": ["string"],
"provider_connector_redirect_policy": "string",
"provider_connector_redirect_policy_tenant": "string",
}],
schema_site_contract_service_graph_id="string",
service_graph_schema_id="string",
service_graph_template_name="string")
const schemaSiteContractServiceGraphResource = new mso.SchemaSiteContractServiceGraph("schemaSiteContractServiceGraphResource", {
contractName: "string",
schemaId: "string",
serviceGraphName: "string",
siteId: "string",
templateName: "string",
nodeRelationships: [{
consumerConnectorClusterInterface: "string",
providerConnectorClusterInterface: "string",
consumerConnectorRedirectPolicy: "string",
consumerConnectorRedirectPolicyTenant: "string",
consumerSubnetIps: ["string"],
providerConnectorRedirectPolicy: "string",
providerConnectorRedirectPolicyTenant: "string",
}],
schemaSiteContractServiceGraphId: "string",
serviceGraphSchemaId: "string",
serviceGraphTemplateName: "string",
});
type: mso:SchemaSiteContractServiceGraph
properties:
contractName: string
nodeRelationships:
- consumerConnectorClusterInterface: string
consumerConnectorRedirectPolicy: string
consumerConnectorRedirectPolicyTenant: string
consumerSubnetIps:
- string
providerConnectorClusterInterface: string
providerConnectorRedirectPolicy: string
providerConnectorRedirectPolicyTenant: string
schemaId: string
schemaSiteContractServiceGraphId: string
serviceGraphName: string
serviceGraphSchemaId: string
serviceGraphTemplateName: string
siteId: string
templateName: string
SchemaSiteContractServiceGraph 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 SchemaSiteContractServiceGraph resource accepts the following input properties:
- Contract
Name string - Schema
Id string - Service
Graph stringName - Site
Id string - Template
Name string - Node
Relationships List<SchemaSite Contract Service Graph Node Relationship> - Schema
Site stringContract Service Graph Id - Service
Graph stringSchema Id - Service
Graph stringTemplate Name
- Contract
Name string - Schema
Id string - Service
Graph stringName - Site
Id string - Template
Name string - Node
Relationships []SchemaSite Contract Service Graph Node Relationship Args - Schema
Site stringContract Service Graph Id - Service
Graph stringSchema Id - Service
Graph stringTemplate Name
- contract
Name String - schema
Id String - service
Graph StringName - site
Id String - template
Name String - node
Relationships List<SchemaSite Contract Service Graph Node Relationship> - schema
Site StringContract Service Graph Id - service
Graph StringSchema Id - service
Graph StringTemplate Name
- contract
Name string - schema
Id string - service
Graph stringName - site
Id string - template
Name string - node
Relationships SchemaSite Contract Service Graph Node Relationship[] - schema
Site stringContract Service Graph Id - service
Graph stringSchema Id - service
Graph stringTemplate Name
- contract
Name String - schema
Id String - service
Graph StringName - site
Id String - template
Name String - node
Relationships List<Property Map> - schema
Site StringContract Service Graph Id - service
Graph StringSchema Id - service
Graph StringTemplate Name
Outputs
All input properties are implicitly available as output properties. Additionally, the SchemaSiteContractServiceGraph 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 SchemaSiteContractServiceGraph Resource
Get an existing SchemaSiteContractServiceGraph 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?: SchemaSiteContractServiceGraphState, opts?: CustomResourceOptions): SchemaSiteContractServiceGraph
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
contract_name: Optional[str] = None,
node_relationships: Optional[Sequence[SchemaSiteContractServiceGraphNodeRelationshipArgs]] = None,
schema_id: Optional[str] = None,
schema_site_contract_service_graph_id: Optional[str] = None,
service_graph_name: Optional[str] = None,
service_graph_schema_id: Optional[str] = None,
service_graph_template_name: Optional[str] = None,
site_id: Optional[str] = None,
template_name: Optional[str] = None) -> SchemaSiteContractServiceGraph
func GetSchemaSiteContractServiceGraph(ctx *Context, name string, id IDInput, state *SchemaSiteContractServiceGraphState, opts ...ResourceOption) (*SchemaSiteContractServiceGraph, error)
public static SchemaSiteContractServiceGraph Get(string name, Input<string> id, SchemaSiteContractServiceGraphState? state, CustomResourceOptions? opts = null)
public static SchemaSiteContractServiceGraph get(String name, Output<String> id, SchemaSiteContractServiceGraphState state, CustomResourceOptions options)
resources: _: type: mso:SchemaSiteContractServiceGraph 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.
- Contract
Name string - Node
Relationships List<SchemaSite Contract Service Graph Node Relationship> - Schema
Id string - Schema
Site stringContract Service Graph Id - Service
Graph stringName - Service
Graph stringSchema Id - Service
Graph stringTemplate Name - Site
Id string - Template
Name string
- Contract
Name string - Node
Relationships []SchemaSite Contract Service Graph Node Relationship Args - Schema
Id string - Schema
Site stringContract Service Graph Id - Service
Graph stringName - Service
Graph stringSchema Id - Service
Graph stringTemplate Name - Site
Id string - Template
Name string
- contract
Name String - node
Relationships List<SchemaSite Contract Service Graph Node Relationship> - schema
Id String - schema
Site StringContract Service Graph Id - service
Graph StringName - service
Graph StringSchema Id - service
Graph StringTemplate Name - site
Id String - template
Name String
- contract
Name string - node
Relationships SchemaSite Contract Service Graph Node Relationship[] - schema
Id string - schema
Site stringContract Service Graph Id - service
Graph stringName - service
Graph stringSchema Id - service
Graph stringTemplate Name - site
Id string - template
Name string
- contract
Name String - node
Relationships List<Property Map> - schema
Id String - schema
Site StringContract Service Graph Id - service
Graph StringName - service
Graph StringSchema Id - service
Graph StringTemplate Name - site
Id String - template
Name String
Supporting Types
SchemaSiteContractServiceGraphNodeRelationship, SchemaSiteContractServiceGraphNodeRelationshipArgs
- Consumer
Connector stringCluster Interface - Provider
Connector stringCluster Interface - Consumer
Connector stringRedirect Policy - Consumer
Connector stringRedirect Policy Tenant - Consumer
Subnet List<string>Ips - Provider
Connector stringRedirect Policy - Provider
Connector stringRedirect Policy Tenant
- consumer
Connector StringCluster Interface - provider
Connector StringCluster Interface - consumer
Connector StringRedirect Policy - consumer
Connector StringRedirect Policy Tenant - consumer
Subnet List<String>Ips - provider
Connector StringRedirect Policy - provider
Connector StringRedirect Policy Tenant
- consumer
Connector StringCluster Interface - provider
Connector StringCluster Interface - consumer
Connector StringRedirect Policy - consumer
Connector StringRedirect Policy Tenant - consumer
Subnet List<String>Ips - provider
Connector StringRedirect Policy - provider
Connector StringRedirect Policy Tenant
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.