meraki.networks.WirelessSsidsDeviceTypeGroupPolicies
Explore with Pulumi AI
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.WirelessSsidsDeviceTypeGroupPolicies;
import com.pulumi.meraki.networks.WirelessSsidsDeviceTypeGroupPoliciesArgs;
import com.pulumi.meraki.networks.inputs.WirelessSsidsDeviceTypeGroupPoliciesDeviceTypePolicyArgs;
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 WirelessSsidsDeviceTypeGroupPolicies("example", WirelessSsidsDeviceTypeGroupPoliciesArgs.builder()
.deviceTypePolicies(WirelessSsidsDeviceTypeGroupPoliciesDeviceTypePolicyArgs.builder()
.device_policy("Allowed")
.device_type("Android")
.build())
.enabled(true)
.networkId("string")
.number("string")
.build());
ctx.export("merakiNetworksWirelessSsidsDeviceTypeGroupPoliciesExample", example);
}
}
resources:
example:
type: meraki:networks:WirelessSsidsDeviceTypeGroupPolicies
properties:
deviceTypePolicies:
- device_policy: Allowed
device_type: Android
enabled: true
networkId: string
number: string
outputs:
merakiNetworksWirelessSsidsDeviceTypeGroupPoliciesExample: ${example}
Create WirelessSsidsDeviceTypeGroupPolicies Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WirelessSsidsDeviceTypeGroupPolicies(name: string, args: WirelessSsidsDeviceTypeGroupPoliciesArgs, opts?: CustomResourceOptions);
@overload
def WirelessSsidsDeviceTypeGroupPolicies(resource_name: str,
args: WirelessSsidsDeviceTypeGroupPoliciesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WirelessSsidsDeviceTypeGroupPolicies(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
number: Optional[str] = None,
device_type_policies: Optional[Sequence[WirelessSsidsDeviceTypeGroupPoliciesDeviceTypePolicyArgs]] = None,
enabled: Optional[bool] = None)
func NewWirelessSsidsDeviceTypeGroupPolicies(ctx *Context, name string, args WirelessSsidsDeviceTypeGroupPoliciesArgs, opts ...ResourceOption) (*WirelessSsidsDeviceTypeGroupPolicies, error)
public WirelessSsidsDeviceTypeGroupPolicies(string name, WirelessSsidsDeviceTypeGroupPoliciesArgs args, CustomResourceOptions? opts = null)
public WirelessSsidsDeviceTypeGroupPolicies(String name, WirelessSsidsDeviceTypeGroupPoliciesArgs args)
public WirelessSsidsDeviceTypeGroupPolicies(String name, WirelessSsidsDeviceTypeGroupPoliciesArgs args, CustomResourceOptions options)
type: meraki:networks:WirelessSsidsDeviceTypeGroupPolicies
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 WirelessSsidsDeviceTypeGroupPoliciesArgs
- 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 WirelessSsidsDeviceTypeGroupPoliciesArgs
- 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 WirelessSsidsDeviceTypeGroupPoliciesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WirelessSsidsDeviceTypeGroupPoliciesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WirelessSsidsDeviceTypeGroupPoliciesArgs
- 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 wirelessSsidsDeviceTypeGroupPoliciesResource = new Meraki.Networks.WirelessSsidsDeviceTypeGroupPolicies("wirelessSsidsDeviceTypeGroupPoliciesResource", new()
{
NetworkId = "string",
Number = "string",
DeviceTypePolicies = new[]
{
new Meraki.Networks.Inputs.WirelessSsidsDeviceTypeGroupPoliciesDeviceTypePolicyArgs
{
DevicePolicy = "string",
DeviceType = "string",
GroupPolicyId = 0,
},
},
Enabled = false,
});
example, err := networks.NewWirelessSsidsDeviceTypeGroupPolicies(ctx, "wirelessSsidsDeviceTypeGroupPoliciesResource", &networks.WirelessSsidsDeviceTypeGroupPoliciesArgs{
NetworkId: pulumi.String("string"),
Number: pulumi.String("string"),
DeviceTypePolicies: networks.WirelessSsidsDeviceTypeGroupPoliciesDeviceTypePolicyArray{
&networks.WirelessSsidsDeviceTypeGroupPoliciesDeviceTypePolicyArgs{
DevicePolicy: pulumi.String("string"),
DeviceType: pulumi.String("string"),
GroupPolicyId: pulumi.Int(0),
},
},
Enabled: pulumi.Bool(false),
})
var wirelessSsidsDeviceTypeGroupPoliciesResource = new WirelessSsidsDeviceTypeGroupPolicies("wirelessSsidsDeviceTypeGroupPoliciesResource", WirelessSsidsDeviceTypeGroupPoliciesArgs.builder()
.networkId("string")
.number("string")
.deviceTypePolicies(WirelessSsidsDeviceTypeGroupPoliciesDeviceTypePolicyArgs.builder()
.devicePolicy("string")
.deviceType("string")
.groupPolicyId(0)
.build())
.enabled(false)
.build());
wireless_ssids_device_type_group_policies_resource = meraki.networks.WirelessSsidsDeviceTypeGroupPolicies("wirelessSsidsDeviceTypeGroupPoliciesResource",
network_id="string",
number="string",
device_type_policies=[{
"device_policy": "string",
"device_type": "string",
"group_policy_id": 0,
}],
enabled=False)
const wirelessSsidsDeviceTypeGroupPoliciesResource = new meraki.networks.WirelessSsidsDeviceTypeGroupPolicies("wirelessSsidsDeviceTypeGroupPoliciesResource", {
networkId: "string",
number: "string",
deviceTypePolicies: [{
devicePolicy: "string",
deviceType: "string",
groupPolicyId: 0,
}],
enabled: false,
});
type: meraki:networks:WirelessSsidsDeviceTypeGroupPolicies
properties:
deviceTypePolicies:
- devicePolicy: string
deviceType: string
groupPolicyId: 0
enabled: false
networkId: string
number: string
WirelessSsidsDeviceTypeGroupPolicies 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 WirelessSsidsDeviceTypeGroupPolicies resource accepts the following input properties:
- Network
Id string - networkId path parameter. Network ID
- Number string
- number path parameter.
- Device
Type List<WirelessPolicies Ssids Device Type Group Policies Device Type Policy> - List of device type policies.
- Enabled bool
- If true, the SSID device type group policies are enabled.
- Network
Id string - networkId path parameter. Network ID
- Number string
- number path parameter.
- Device
Type []WirelessPolicies Ssids Device Type Group Policies Device Type Policy Args - List of device type policies.
- Enabled bool
- If true, the SSID device type group policies are enabled.
- network
Id String - networkId path parameter. Network ID
- number String
- number path parameter.
- device
Type List<WirelessPolicies Ssids Device Type Group Policies Device Type Policy> - List of device type policies.
- enabled Boolean
- If true, the SSID device type group policies are enabled.
- network
Id string - networkId path parameter. Network ID
- number string
- number path parameter.
- device
Type WirelessPolicies Ssids Device Type Group Policies Device Type Policy[] - List of device type policies.
- enabled boolean
- If true, the SSID device type group policies are enabled.
- network_
id str - networkId path parameter. Network ID
- number str
- number path parameter.
- device_
type_ Sequence[Wirelesspolicies Ssids Device Type Group Policies Device Type Policy Args] - List of device type policies.
- enabled bool
- If true, the SSID device type group policies are enabled.
- network
Id String - networkId path parameter. Network ID
- number String
- number path parameter.
- device
Type List<Property Map>Policies - List of device type policies.
- enabled Boolean
- If true, the SSID device type group policies are enabled.
Outputs
All input properties are implicitly available as output properties. Additionally, the WirelessSsidsDeviceTypeGroupPolicies 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 WirelessSsidsDeviceTypeGroupPolicies Resource
Get an existing WirelessSsidsDeviceTypeGroupPolicies 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?: WirelessSsidsDeviceTypeGroupPoliciesState, opts?: CustomResourceOptions): WirelessSsidsDeviceTypeGroupPolicies
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
device_type_policies: Optional[Sequence[WirelessSsidsDeviceTypeGroupPoliciesDeviceTypePolicyArgs]] = None,
enabled: Optional[bool] = None,
network_id: Optional[str] = None,
number: Optional[str] = None) -> WirelessSsidsDeviceTypeGroupPolicies
func GetWirelessSsidsDeviceTypeGroupPolicies(ctx *Context, name string, id IDInput, state *WirelessSsidsDeviceTypeGroupPoliciesState, opts ...ResourceOption) (*WirelessSsidsDeviceTypeGroupPolicies, error)
public static WirelessSsidsDeviceTypeGroupPolicies Get(string name, Input<string> id, WirelessSsidsDeviceTypeGroupPoliciesState? state, CustomResourceOptions? opts = null)
public static WirelessSsidsDeviceTypeGroupPolicies get(String name, Output<String> id, WirelessSsidsDeviceTypeGroupPoliciesState 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.
- Device
Type List<WirelessPolicies Ssids Device Type Group Policies Device Type Policy> - List of device type policies.
- Enabled bool
- If true, the SSID device type group policies are enabled.
- Network
Id string - networkId path parameter. Network ID
- Number string
- number path parameter.
- Device
Type []WirelessPolicies Ssids Device Type Group Policies Device Type Policy Args - List of device type policies.
- Enabled bool
- If true, the SSID device type group policies are enabled.
- Network
Id string - networkId path parameter. Network ID
- Number string
- number path parameter.
- device
Type List<WirelessPolicies Ssids Device Type Group Policies Device Type Policy> - List of device type policies.
- enabled Boolean
- If true, the SSID device type group policies are enabled.
- network
Id String - networkId path parameter. Network ID
- number String
- number path parameter.
- device
Type WirelessPolicies Ssids Device Type Group Policies Device Type Policy[] - List of device type policies.
- enabled boolean
- If true, the SSID device type group policies are enabled.
- network
Id string - networkId path parameter. Network ID
- number string
- number path parameter.
- device_
type_ Sequence[Wirelesspolicies Ssids Device Type Group Policies Device Type Policy Args] - List of device type policies.
- enabled bool
- If true, the SSID device type group policies are enabled.
- network_
id str - networkId path parameter. Network ID
- number str
- number path parameter.
- device
Type List<Property Map>Policies - List of device type policies.
- enabled Boolean
- If true, the SSID device type group policies are enabled.
- network
Id String - networkId path parameter. Network ID
- number String
- number path parameter.
Supporting Types
WirelessSsidsDeviceTypeGroupPoliciesDeviceTypePolicy, WirelessSsidsDeviceTypeGroupPoliciesDeviceTypePolicyArgs
- Device
Policy string - The device policy. Can be one of 'Allowed', 'Blocked' or 'Group policy'
- Device
Type string - The device type. Can be one of 'Android', 'BlackBerry', 'Chrome OS', 'iPad', 'iPhone', 'iPod', 'Mac OS X', 'Windows', 'Windows Phone', 'B&N Nook' or 'Other OS'
- Group
Policy intId - ID of the group policy object.
- Device
Policy string - The device policy. Can be one of 'Allowed', 'Blocked' or 'Group policy'
- Device
Type string - The device type. Can be one of 'Android', 'BlackBerry', 'Chrome OS', 'iPad', 'iPhone', 'iPod', 'Mac OS X', 'Windows', 'Windows Phone', 'B&N Nook' or 'Other OS'
- Group
Policy intId - ID of the group policy object.
- device
Policy String - The device policy. Can be one of 'Allowed', 'Blocked' or 'Group policy'
- device
Type String - The device type. Can be one of 'Android', 'BlackBerry', 'Chrome OS', 'iPad', 'iPhone', 'iPod', 'Mac OS X', 'Windows', 'Windows Phone', 'B&N Nook' or 'Other OS'
- group
Policy IntegerId - ID of the group policy object.
- device
Policy string - The device policy. Can be one of 'Allowed', 'Blocked' or 'Group policy'
- device
Type string - The device type. Can be one of 'Android', 'BlackBerry', 'Chrome OS', 'iPad', 'iPhone', 'iPod', 'Mac OS X', 'Windows', 'Windows Phone', 'B&N Nook' or 'Other OS'
- group
Policy numberId - ID of the group policy object.
- device_
policy str - The device policy. Can be one of 'Allowed', 'Blocked' or 'Group policy'
- device_
type str - The device type. Can be one of 'Android', 'BlackBerry', 'Chrome OS', 'iPad', 'iPhone', 'iPod', 'Mac OS X', 'Windows', 'Windows Phone', 'B&N Nook' or 'Other OS'
- group_
policy_ intid - ID of the group policy object.
- device
Policy String - The device policy. Can be one of 'Allowed', 'Blocked' or 'Group policy'
- device
Type String - The device type. Can be one of 'Android', 'BlackBerry', 'Chrome OS', 'iPad', 'iPhone', 'iPod', 'Mac OS X', 'Windows', 'Windows Phone', 'B&N Nook' or 'Other OS'
- group
Policy NumberId - ID of the group policy object.
Import
$ pulumi import meraki:networks/wirelessSsidsDeviceTypeGroupPolicies:WirelessSsidsDeviceTypeGroupPolicies example "network_id,number"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.