meraki.networks.Bind
Explore with Pulumi AI
~>Warning: This resource does not represent a real-world entity in Meraki Dashboard, therefore changing or deleting this resource on its own has no immediate effect. Instead, it is a task part of a Meraki Dashboard workflow. It is executed in Meraki without any additional verification. It does not check if it was executed before or if a similar configuration or action already existed previously.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.networks.Bind;
import com.pulumi.meraki.networks.BindArgs;
import com.pulumi.meraki.networks.inputs.BindParametersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Bind("example", BindArgs.builder()
.networkId("string")
.parameters(BindParametersArgs.builder()
.auto_bind(false)
.config_template_id("N_23952905")
.build())
.build());
ctx.export("merakiNetworksBindExample", example);
}
}
resources:
example:
type: meraki:networks:Bind
properties:
networkId: string
parameters:
auto_bind: false
config_template_id: N_23952905
outputs:
merakiNetworksBindExample: ${example}
Create Bind Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Bind(name: string, args: BindArgs, opts?: CustomResourceOptions);
@overload
def Bind(resource_name: str,
args: BindArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Bind(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
parameters: Optional[BindParametersArgs] = None)
func NewBind(ctx *Context, name string, args BindArgs, opts ...ResourceOption) (*Bind, error)
public Bind(string name, BindArgs args, CustomResourceOptions? opts = null)
type: meraki:networks:Bind
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 BindArgs
- 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 BindArgs
- 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 BindArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BindArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BindArgs
- 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 bindResource = new Meraki.Networks.Bind("bindResource", new()
{
NetworkId = "string",
Parameters = new Meraki.Networks.Inputs.BindParametersArgs
{
AutoBind = false,
ConfigTemplateId = "string",
},
});
example, err := networks.NewBind(ctx, "bindResource", &networks.BindArgs{
NetworkId: pulumi.String("string"),
Parameters: &networks.BindParametersArgs{
AutoBind: pulumi.Bool(false),
ConfigTemplateId: pulumi.String("string"),
},
})
var bindResource = new Bind("bindResource", BindArgs.builder()
.networkId("string")
.parameters(BindParametersArgs.builder()
.autoBind(false)
.configTemplateId("string")
.build())
.build());
bind_resource = meraki.networks.Bind("bindResource",
network_id="string",
parameters={
"auto_bind": False,
"config_template_id": "string",
})
const bindResource = new meraki.networks.Bind("bindResource", {
networkId: "string",
parameters: {
autoBind: false,
configTemplateId: "string",
},
});
type: meraki:networks:Bind
properties:
networkId: string
parameters:
autoBind: false
configTemplateId: string
Bind 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 Bind resource accepts the following input properties:
- Network
Id string - networkId path parameter. Network ID
- Parameters
Bind
Parameters
- Network
Id string - networkId path parameter. Network ID
- Parameters
Bind
Parameters Args
- network
Id String - networkId path parameter. Network ID
- parameters
Bind
Parameters
- network
Id string - networkId path parameter. Network ID
- parameters
Bind
Parameters
- network_
id str - networkId path parameter. Network ID
- parameters
Bind
Parameters Args
- network
Id String - networkId path parameter. Network ID
- parameters Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Bind resource produces the following output properties:
- id String
- The provider-assigned unique ID for this managed resource.
- item Property Map
Look up Existing Bind Resource
Get an existing Bind 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?: BindState, opts?: CustomResourceOptions): Bind
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
item: Optional[BindItemArgs] = None,
network_id: Optional[str] = None,
parameters: Optional[BindParametersArgs] = None) -> Bind
func GetBind(ctx *Context, name string, id IDInput, state *BindState, opts ...ResourceOption) (*Bind, error)
public static Bind Get(string name, Input<string> id, BindState? state, CustomResourceOptions? opts = null)
public static Bind get(String name, Output<String> id, BindState 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.
- Item
Bind
Item - Network
Id string - networkId path parameter. Network ID
- Parameters
Bind
Parameters
- Item
Bind
Item Args - Network
Id string - networkId path parameter. Network ID
- Parameters
Bind
Parameters Args
- item
Bind
Item - network
Id String - networkId path parameter. Network ID
- parameters
Bind
Parameters
- item
Bind
Item - network
Id string - networkId path parameter. Network ID
- parameters
Bind
Parameters
- item
Bind
Item Args - network_
id str - networkId path parameter. Network ID
- parameters
Bind
Parameters Args
- item Property Map
- network
Id String - networkId path parameter. Network ID
- parameters Property Map
Supporting Types
BindItem, BindItemArgs
- Config
Template stringId - ID of the config template the network is being bound to
- Enrollment
String string - Enrollment string for the network
- Id string
- Network ID
- Is
Bound boolTo Config Template - If the network is bound to a config template
- Name string
- Network name
- Notes string
- Notes for the network
- Organization
Id string - Organization ID
- Product
Types List<string> - List of the product types that the network supports
- List<string>
- Network tags
- Time
Zone string - Timezone of the network
- Url string
- URL to the network Dashboard UI
- Config
Template stringId - ID of the config template the network is being bound to
- Enrollment
String string - Enrollment string for the network
- Id string
- Network ID
- Is
Bound boolTo Config Template - If the network is bound to a config template
- Name string
- Network name
- Notes string
- Notes for the network
- Organization
Id string - Organization ID
- Product
Types []string - List of the product types that the network supports
- []string
- Network tags
- Time
Zone string - Timezone of the network
- Url string
- URL to the network Dashboard UI
- config
Template StringId - ID of the config template the network is being bound to
- enrollment
String String - Enrollment string for the network
- id String
- Network ID
- is
Bound BooleanTo Config Template - If the network is bound to a config template
- name String
- Network name
- notes String
- Notes for the network
- organization
Id String - Organization ID
- product
Types List<String> - List of the product types that the network supports
- List<String>
- Network tags
- time
Zone String - Timezone of the network
- url String
- URL to the network Dashboard UI
- config
Template stringId - ID of the config template the network is being bound to
- enrollment
String string - Enrollment string for the network
- id string
- Network ID
- is
Bound booleanTo Config Template - If the network is bound to a config template
- name string
- Network name
- notes string
- Notes for the network
- organization
Id string - Organization ID
- product
Types string[] - List of the product types that the network supports
- string[]
- Network tags
- time
Zone string - Timezone of the network
- url string
- URL to the network Dashboard UI
- config_
template_ strid - ID of the config template the network is being bound to
- enrollment_
string str - Enrollment string for the network
- id str
- Network ID
- is_
bound_ boolto_ config_ template - If the network is bound to a config template
- name str
- Network name
- notes str
- Notes for the network
- organization_
id str - Organization ID
- product_
types Sequence[str] - List of the product types that the network supports
- Sequence[str]
- Network tags
- time_
zone str - Timezone of the network
- url str
- URL to the network Dashboard UI
- config
Template StringId - ID of the config template the network is being bound to
- enrollment
String String - Enrollment string for the network
- id String
- Network ID
- is
Bound BooleanTo Config Template - If the network is bound to a config template
- name String
- Network name
- notes String
- Notes for the network
- organization
Id String - Organization ID
- product
Types List<String> - List of the product types that the network supports
- List<String>
- Network tags
- time
Zone String - Timezone of the network
- url String
- URL to the network Dashboard UI
BindParameters, BindParametersArgs
- Auto
Bind bool - Optional boolean indicating whether the network's switches should automatically bind to profiles of the same model. Defaults to false if left unspecified. This option only affects switch networks and switch templates. Auto-bind is not valid unless the switch template has at least one profile and has at most one profile per switch model.
- Config
Template stringId - The ID of the template to which the network should be bound.
- Auto
Bind bool - Optional boolean indicating whether the network's switches should automatically bind to profiles of the same model. Defaults to false if left unspecified. This option only affects switch networks and switch templates. Auto-bind is not valid unless the switch template has at least one profile and has at most one profile per switch model.
- Config
Template stringId - The ID of the template to which the network should be bound.
- auto
Bind Boolean - Optional boolean indicating whether the network's switches should automatically bind to profiles of the same model. Defaults to false if left unspecified. This option only affects switch networks and switch templates. Auto-bind is not valid unless the switch template has at least one profile and has at most one profile per switch model.
- config
Template StringId - The ID of the template to which the network should be bound.
- auto
Bind boolean - Optional boolean indicating whether the network's switches should automatically bind to profiles of the same model. Defaults to false if left unspecified. This option only affects switch networks and switch templates. Auto-bind is not valid unless the switch template has at least one profile and has at most one profile per switch model.
- config
Template stringId - The ID of the template to which the network should be bound.
- auto_
bind bool - Optional boolean indicating whether the network's switches should automatically bind to profiles of the same model. Defaults to false if left unspecified. This option only affects switch networks and switch templates. Auto-bind is not valid unless the switch template has at least one profile and has at most one profile per switch model.
- config_
template_ strid - The ID of the template to which the network should be bound.
- auto
Bind Boolean - Optional boolean indicating whether the network's switches should automatically bind to profiles of the same model. Defaults to false if left unspecified. This option only affects switch networks and switch templates. Auto-bind is not valid unless the switch template has at least one profile and has at most one profile per switch model.
- config
Template StringId - The ID of the template to which the network should be bound.
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.