meraki.networks.SmBypassActivationLockAttempts
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";
const example = new meraki.networks.SmBypassActivationLockAttempts("example", {
ids: [
"1284392014819",
"2983092129865",
],
networkId: "string",
});
export const merakiNetworksSmBypassActivationLockAttemptsExample = example;
import pulumi
import pulumi_meraki as meraki
example = meraki.networks.SmBypassActivationLockAttempts("example",
ids=[
"1284392014819",
"2983092129865",
],
network_id="string")
pulumi.export("merakiNetworksSmBypassActivationLockAttemptsExample", example)
package main
import (
"github.com/pulumi/pulumi-meraki/sdk/go/meraki/networks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := networks.NewSmBypassActivationLockAttempts(ctx, "example", &networks.SmBypassActivationLockAttemptsArgs{
Ids: pulumi.StringArray{
pulumi.String("1284392014819"),
pulumi.String("2983092129865"),
},
NetworkId: pulumi.String("string"),
})
if err != nil {
return err
}
ctx.Export("merakiNetworksSmBypassActivationLockAttemptsExample", example)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;
return await Deployment.RunAsync(() =>
{
var example = new Meraki.Networks.SmBypassActivationLockAttempts("example", new()
{
Ids = new[]
{
"1284392014819",
"2983092129865",
},
NetworkId = "string",
});
return new Dictionary<string, object?>
{
["merakiNetworksSmBypassActivationLockAttemptsExample"] = example,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.networks.SmBypassActivationLockAttempts;
import com.pulumi.meraki.networks.SmBypassActivationLockAttemptsArgs;
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 SmBypassActivationLockAttempts("example", SmBypassActivationLockAttemptsArgs.builder()
.ids(
"1284392014819",
"2983092129865")
.networkId("string")
.build());
ctx.export("merakiNetworksSmBypassActivationLockAttemptsExample", example);
}
}
resources:
example:
type: meraki:networks:SmBypassActivationLockAttempts
properties:
ids:
- '1284392014819'
- '2983092129865'
networkId: string
outputs:
merakiNetworksSmBypassActivationLockAttemptsExample: ${example}
Create SmBypassActivationLockAttempts Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SmBypassActivationLockAttempts(name: string, args: SmBypassActivationLockAttemptsArgs, opts?: CustomResourceOptions);
@overload
def SmBypassActivationLockAttempts(resource_name: str,
args: SmBypassActivationLockAttemptsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SmBypassActivationLockAttempts(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
attempt_id: Optional[str] = None,
ids: Optional[Sequence[str]] = None)
func NewSmBypassActivationLockAttempts(ctx *Context, name string, args SmBypassActivationLockAttemptsArgs, opts ...ResourceOption) (*SmBypassActivationLockAttempts, error)
public SmBypassActivationLockAttempts(string name, SmBypassActivationLockAttemptsArgs args, CustomResourceOptions? opts = null)
public SmBypassActivationLockAttempts(String name, SmBypassActivationLockAttemptsArgs args)
public SmBypassActivationLockAttempts(String name, SmBypassActivationLockAttemptsArgs args, CustomResourceOptions options)
type: meraki:networks:SmBypassActivationLockAttempts
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 SmBypassActivationLockAttemptsArgs
- 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 SmBypassActivationLockAttemptsArgs
- 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 SmBypassActivationLockAttemptsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SmBypassActivationLockAttemptsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SmBypassActivationLockAttemptsArgs
- 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 smBypassActivationLockAttemptsResource = new Meraki.Networks.SmBypassActivationLockAttempts("smBypassActivationLockAttemptsResource", new()
{
NetworkId = "string",
AttemptId = "string",
Ids = new[]
{
"string",
},
});
example, err := networks.NewSmBypassActivationLockAttempts(ctx, "smBypassActivationLockAttemptsResource", &networks.SmBypassActivationLockAttemptsArgs{
NetworkId: pulumi.String("string"),
AttemptId: pulumi.String("string"),
Ids: pulumi.StringArray{
pulumi.String("string"),
},
})
var smBypassActivationLockAttemptsResource = new SmBypassActivationLockAttempts("smBypassActivationLockAttemptsResource", SmBypassActivationLockAttemptsArgs.builder()
.networkId("string")
.attemptId("string")
.ids("string")
.build());
sm_bypass_activation_lock_attempts_resource = meraki.networks.SmBypassActivationLockAttempts("smBypassActivationLockAttemptsResource",
network_id="string",
attempt_id="string",
ids=["string"])
const smBypassActivationLockAttemptsResource = new meraki.networks.SmBypassActivationLockAttempts("smBypassActivationLockAttemptsResource", {
networkId: "string",
attemptId: "string",
ids: ["string"],
});
type: meraki:networks:SmBypassActivationLockAttempts
properties:
attemptId: string
ids:
- string
networkId: string
SmBypassActivationLockAttempts 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 SmBypassActivationLockAttempts resource accepts the following input properties:
- network_
id str - networkId path parameter. Network ID
- attempt_
id str - attemptId path parameter. Attempt ID
- ids Sequence[str]
- The ids of the devices to attempt activation lock bypass.
Outputs
All input properties are implicitly available as output properties. Additionally, the SmBypassActivationLockAttempts resource produces the following output properties:
- Data
Sm
Bypass Activation Lock Attempts Data - Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Data
Sm
Bypass Activation Lock Attempts Data - Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- data
Sm
Bypass Activation Lock Attempts Data - id String
- The provider-assigned unique ID for this managed resource.
- status String
- data
Sm
Bypass Activation Lock Attempts Data - id string
- The provider-assigned unique ID for this managed resource.
- status string
- data
Sm
Bypass Activation Lock Attempts Data - id str
- The provider-assigned unique ID for this managed resource.
- status str
- data Property Map
- id String
- The provider-assigned unique ID for this managed resource.
- status String
Look up Existing SmBypassActivationLockAttempts Resource
Get an existing SmBypassActivationLockAttempts 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?: SmBypassActivationLockAttemptsState, opts?: CustomResourceOptions): SmBypassActivationLockAttempts
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
attempt_id: Optional[str] = None,
data: Optional[SmBypassActivationLockAttemptsDataArgs] = None,
ids: Optional[Sequence[str]] = None,
network_id: Optional[str] = None,
status: Optional[str] = None) -> SmBypassActivationLockAttempts
func GetSmBypassActivationLockAttempts(ctx *Context, name string, id IDInput, state *SmBypassActivationLockAttemptsState, opts ...ResourceOption) (*SmBypassActivationLockAttempts, error)
public static SmBypassActivationLockAttempts Get(string name, Input<string> id, SmBypassActivationLockAttemptsState? state, CustomResourceOptions? opts = null)
public static SmBypassActivationLockAttempts get(String name, Output<String> id, SmBypassActivationLockAttemptsState 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.
- attempt_
id str - attemptId path parameter. Attempt ID
- data
Sm
Bypass Activation Lock Attempts Data Args - ids Sequence[str]
- The ids of the devices to attempt activation lock bypass.
- network_
id str - networkId path parameter. Network ID
- status str
Supporting Types
SmBypassActivationLockAttemptsData, SmBypassActivationLockAttemptsDataArgs
SmBypassActivationLockAttemptsDataStatus2090938209, SmBypassActivationLockAttemptsDataStatus2090938209Args
SmBypassActivationLockAttemptsDataStatus38290139892, SmBypassActivationLockAttemptsDataStatus38290139892Args
- Success bool
- Success bool
- success Boolean
- success boolean
- success bool
- success Boolean
Import
$ pulumi import meraki:networks/smBypassActivationLockAttempts:SmBypassActivationLockAttempts example "attempt_id,network_id"
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.