mso.SchemaSiteAnpEpgBulkStaticport
Explore with Pulumi AI
Create SchemaSiteAnpEpgBulkStaticport Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SchemaSiteAnpEpgBulkStaticport(name: string, args: SchemaSiteAnpEpgBulkStaticportArgs, opts?: CustomResourceOptions);
@overload
def SchemaSiteAnpEpgBulkStaticport(resource_name: str,
args: SchemaSiteAnpEpgBulkStaticportArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SchemaSiteAnpEpgBulkStaticport(resource_name: str,
opts: Optional[ResourceOptions] = None,
anp_name: Optional[str] = None,
epg_name: Optional[str] = None,
schema_id: Optional[str] = None,
site_id: Optional[str] = None,
static_ports: Optional[Sequence[SchemaSiteAnpEpgBulkStaticportStaticPortArgs]] = None,
template_name: Optional[str] = None,
schema_site_anp_epg_bulk_staticport_id: Optional[str] = None)
func NewSchemaSiteAnpEpgBulkStaticport(ctx *Context, name string, args SchemaSiteAnpEpgBulkStaticportArgs, opts ...ResourceOption) (*SchemaSiteAnpEpgBulkStaticport, error)
public SchemaSiteAnpEpgBulkStaticport(string name, SchemaSiteAnpEpgBulkStaticportArgs args, CustomResourceOptions? opts = null)
public SchemaSiteAnpEpgBulkStaticport(String name, SchemaSiteAnpEpgBulkStaticportArgs args)
public SchemaSiteAnpEpgBulkStaticport(String name, SchemaSiteAnpEpgBulkStaticportArgs args, CustomResourceOptions options)
type: mso:SchemaSiteAnpEpgBulkStaticport
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. SchemaSiteAnpEpgBulkStaticportArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. SchemaSiteAnpEpgBulkStaticportArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. SchemaSiteAnpEpgBulkStaticportArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. SchemaSiteAnpEpgBulkStaticportArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. SchemaSiteAnpEpgBulkStaticportArgs - 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 schemaSiteAnpEpgBulkStaticportResource = new Mso.SchemaSiteAnpEpgBulkStaticport("schemaSiteAnpEpgBulkStaticportResource", new()
{
AnpName = "string",
EpgName = "string",
SchemaId = "string",
SiteId = "string",
StaticPorts = new[]
{
new Mso.Inputs.SchemaSiteAnpEpgBulkStaticportStaticPortArgs
{
Path = "string",
Pod = "string",
Vlan = 0,
DeploymentImmediacy = "string",
Fex = "string",
Leaf = "string",
MicroSegVlan = 0,
Mode = "string",
PathType = "string",
},
},
TemplateName = "string",
SchemaSiteAnpEpgBulkStaticportId = "string",
});
example, err := mso.NewSchemaSiteAnpEpgBulkStaticport(ctx, "schemaSiteAnpEpgBulkStaticportResource", &mso.SchemaSiteAnpEpgBulkStaticportArgs{
AnpName: pulumi.String("string"),
EpgName: pulumi.String("string"),
SchemaId: pulumi.String("string"),
SiteId: pulumi.String("string"),
StaticPorts: .SchemaSiteAnpEpgBulkStaticportStaticPortArray{
&.SchemaSiteAnpEpgBulkStaticportStaticPortArgs{
Path: pulumi.String("string"),
Pod: pulumi.String("string"),
Vlan: pulumi.Float64(0),
DeploymentImmediacy: pulumi.String("string"),
Fex: pulumi.String("string"),
Leaf: pulumi.String("string"),
MicroSegVlan: pulumi.Float64(0),
Mode: pulumi.String("string"),
PathType: pulumi.String("string"),
},
},
TemplateName: pulumi.String("string"),
SchemaSiteAnpEpgBulkStaticportId: pulumi.String("string"),
})
var schemaSiteAnpEpgBulkStaticportResource = new SchemaSiteAnpEpgBulkStaticport("schemaSiteAnpEpgBulkStaticportResource", SchemaSiteAnpEpgBulkStaticportArgs.builder()
.anpName("string")
.epgName("string")
.schemaId("string")
.siteId("string")
.staticPorts(SchemaSiteAnpEpgBulkStaticportStaticPortArgs.builder()
.path("string")
.pod("string")
.vlan(0)
.deploymentImmediacy("string")
.fex("string")
.leaf("string")
.microSegVlan(0)
.mode("string")
.pathType("string")
.build())
.templateName("string")
.schemaSiteAnpEpgBulkStaticportId("string")
.build());
schema_site_anp_epg_bulk_staticport_resource = mso.SchemaSiteAnpEpgBulkStaticport("schemaSiteAnpEpgBulkStaticportResource",
anp_name="string",
epg_name="string",
schema_id="string",
site_id="string",
static_ports=[{
"path": "string",
"pod": "string",
"vlan": 0,
"deployment_immediacy": "string",
"fex": "string",
"leaf": "string",
"micro_seg_vlan": 0,
"mode": "string",
"path_type": "string",
}],
template_name="string",
schema_site_anp_epg_bulk_staticport_id="string")
const schemaSiteAnpEpgBulkStaticportResource = new mso.SchemaSiteAnpEpgBulkStaticport("schemaSiteAnpEpgBulkStaticportResource", {
anpName: "string",
epgName: "string",
schemaId: "string",
siteId: "string",
staticPorts: [{
path: "string",
pod: "string",
vlan: 0,
deploymentImmediacy: "string",
fex: "string",
leaf: "string",
microSegVlan: 0,
mode: "string",
pathType: "string",
}],
templateName: "string",
schemaSiteAnpEpgBulkStaticportId: "string",
});
type: mso:SchemaSiteAnpEpgBulkStaticport
properties:
anpName: string
epgName: string
schemaId: string
schemaSiteAnpEpgBulkStaticportId: string
siteId: string
staticPorts:
- deploymentImmediacy: string
fex: string
leaf: string
microSegVlan: 0
mode: string
path: string
pathType: string
pod: string
vlan: 0
templateName: string
SchemaSiteAnpEpgBulkStaticport 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 SchemaSiteAnpEpgBulkStaticport resource accepts the following input properties:
- Anp
Name This property is required. string - Epg
Name This property is required. string - Schema
Id This property is required. string - Site
Id This property is required. string - Static
Ports This property is required. List<SchemaSite Anp Epg Bulk Staticport Static Port> - Template
Name This property is required. string - Schema
Site stringAnp Epg Bulk Staticport Id
- Anp
Name This property is required. string - Epg
Name This property is required. string - Schema
Id This property is required. string - Site
Id This property is required. string - Static
Ports This property is required. []SchemaSite Anp Epg Bulk Staticport Static Port Args - Template
Name This property is required. string - Schema
Site stringAnp Epg Bulk Staticport Id
- anp
Name This property is required. String - epg
Name This property is required. String - schema
Id This property is required. String - site
Id This property is required. String - static
Ports This property is required. List<SchemaSite Anp Epg Bulk Staticport Static Port> - template
Name This property is required. String - schema
Site StringAnp Epg Bulk Staticport Id
- anp
Name This property is required. string - epg
Name This property is required. string - schema
Id This property is required. string - site
Id This property is required. string - static
Ports This property is required. SchemaSite Anp Epg Bulk Staticport Static Port[] - template
Name This property is required. string - schema
Site stringAnp Epg Bulk Staticport Id
- anp_
name This property is required. str - epg_
name This property is required. str - schema_
id This property is required. str - site_
id This property is required. str - static_
ports This property is required. Sequence[SchemaSite Anp Epg Bulk Staticport Static Port Args] - template_
name This property is required. str - schema_
site_ stranp_ epg_ bulk_ staticport_ id
- anp
Name This property is required. String - epg
Name This property is required. String - schema
Id This property is required. String - site
Id This property is required. String - static
Ports This property is required. List<Property Map> - template
Name This property is required. String - schema
Site StringAnp Epg Bulk Staticport Id
Outputs
All input properties are implicitly available as output properties. Additionally, the SchemaSiteAnpEpgBulkStaticport 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 SchemaSiteAnpEpgBulkStaticport Resource
Get an existing SchemaSiteAnpEpgBulkStaticport 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?: SchemaSiteAnpEpgBulkStaticportState, opts?: CustomResourceOptions): SchemaSiteAnpEpgBulkStaticport
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
anp_name: Optional[str] = None,
epg_name: Optional[str] = None,
schema_id: Optional[str] = None,
schema_site_anp_epg_bulk_staticport_id: Optional[str] = None,
site_id: Optional[str] = None,
static_ports: Optional[Sequence[SchemaSiteAnpEpgBulkStaticportStaticPortArgs]] = None,
template_name: Optional[str] = None) -> SchemaSiteAnpEpgBulkStaticport
func GetSchemaSiteAnpEpgBulkStaticport(ctx *Context, name string, id IDInput, state *SchemaSiteAnpEpgBulkStaticportState, opts ...ResourceOption) (*SchemaSiteAnpEpgBulkStaticport, error)
public static SchemaSiteAnpEpgBulkStaticport Get(string name, Input<string> id, SchemaSiteAnpEpgBulkStaticportState? state, CustomResourceOptions? opts = null)
public static SchemaSiteAnpEpgBulkStaticport get(String name, Output<String> id, SchemaSiteAnpEpgBulkStaticportState state, CustomResourceOptions options)
resources: _: type: mso:SchemaSiteAnpEpgBulkStaticport get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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.
- Anp
Name string - Epg
Name string - Schema
Id string - Schema
Site stringAnp Epg Bulk Staticport Id - Site
Id string - Static
Ports List<SchemaSite Anp Epg Bulk Staticport Static Port> - Template
Name string
- Anp
Name string - Epg
Name string - Schema
Id string - Schema
Site stringAnp Epg Bulk Staticport Id - Site
Id string - Static
Ports []SchemaSite Anp Epg Bulk Staticport Static Port Args - Template
Name string
- anp
Name String - epg
Name String - schema
Id String - schema
Site StringAnp Epg Bulk Staticport Id - site
Id String - static
Ports List<SchemaSite Anp Epg Bulk Staticport Static Port> - template
Name String
- anp
Name string - epg
Name string - schema
Id string - schema
Site stringAnp Epg Bulk Staticport Id - site
Id string - static
Ports SchemaSite Anp Epg Bulk Staticport Static Port[] - template
Name string
- anp
Name String - epg
Name String - schema
Id String - schema
Site StringAnp Epg Bulk Staticport Id - site
Id String - static
Ports List<Property Map> - template
Name String
Supporting Types
SchemaSiteAnpEpgBulkStaticportStaticPort, SchemaSiteAnpEpgBulkStaticportStaticPortArgs
- Path
This property is required. string - Pod
This property is required. string - Vlan
This property is required. double - Deployment
Immediacy string - Fex string
- Leaf string
- Micro
Seg doubleVlan - Mode string
- Path
Type string
- Path
This property is required. string - Pod
This property is required. string - Vlan
This property is required. float64 - Deployment
Immediacy string - Fex string
- Leaf string
- Micro
Seg float64Vlan - Mode string
- Path
Type string
- path
This property is required. String - pod
This property is required. String - vlan
This property is required. Double - deployment
Immediacy String - fex String
- leaf String
- micro
Seg DoubleVlan - mode String
- path
Type String
- path
This property is required. string - pod
This property is required. string - vlan
This property is required. number - deployment
Immediacy string - fex string
- leaf string
- micro
Seg numberVlan - mode string
- path
Type string
- path
This property is required. str - pod
This property is required. str - vlan
This property is required. float - deployment_
immediacy str - fex str
- leaf str
- micro_
seg_ floatvlan - mode str
- path_
type str
- path
This property is required. String - pod
This property is required. String - vlan
This property is required. Number - deployment
Immediacy String - fex String
- leaf String
- micro
Seg NumberVlan - mode String
- path
Type String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.