meraki.networks.MerakiAuthUsers
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.MerakiAuthUsers;
import com.pulumi.meraki.networks.MerakiAuthUsersArgs;
import com.pulumi.meraki.networks.inputs.MerakiAuthUsersAuthorizationArgs;
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 MerakiAuthUsers("example", MerakiAuthUsersArgs.builder()
.accountType("802.1X")
.authorizations(MerakiAuthUsersAuthorizationArgs.builder()
.expires_at("2018-03-13T00:00:00.090210Z")
.ssid_number(1)
.build())
.email("miles@meraki.com")
.emailPasswordToUser(false)
.isAdmin(false)
.name("Miles Meraki")
.networkId("string")
.password("secret")
.build());
ctx.export("merakiNetworksMerakiAuthUsersExample", example);
}
}
resources:
example:
type: meraki:networks:MerakiAuthUsers
properties:
accountType: 802.1X
authorizations:
- expires_at: 2018-03-13T00:00:00.090210Z
ssid_number: 1
email: miles@meraki.com
emailPasswordToUser: false
isAdmin: false
name: Miles Meraki
networkId: string
password: secret
outputs:
merakiNetworksMerakiAuthUsersExample: ${example}
Create MerakiAuthUsers Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MerakiAuthUsers(name: string, args: MerakiAuthUsersArgs, opts?: CustomResourceOptions);
@overload
def MerakiAuthUsers(resource_name: str,
args: MerakiAuthUsersArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MerakiAuthUsers(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
account_type: Optional[str] = None,
authorizations: Optional[Sequence[MerakiAuthUsersAuthorizationArgs]] = None,
email: Optional[str] = None,
email_password_to_user: Optional[bool] = None,
is_admin: Optional[bool] = None,
meraki_auth_user_id: Optional[str] = None,
name: Optional[str] = None,
password: Optional[str] = None)
func NewMerakiAuthUsers(ctx *Context, name string, args MerakiAuthUsersArgs, opts ...ResourceOption) (*MerakiAuthUsers, error)
public MerakiAuthUsers(string name, MerakiAuthUsersArgs args, CustomResourceOptions? opts = null)
public MerakiAuthUsers(String name, MerakiAuthUsersArgs args)
public MerakiAuthUsers(String name, MerakiAuthUsersArgs args, CustomResourceOptions options)
type: meraki:networks:MerakiAuthUsers
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 MerakiAuthUsersArgs
- 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 MerakiAuthUsersArgs
- 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 MerakiAuthUsersArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MerakiAuthUsersArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MerakiAuthUsersArgs
- 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 merakiAuthUsersResource = new Meraki.Networks.MerakiAuthUsers("merakiAuthUsersResource", new()
{
NetworkId = "string",
AccountType = "string",
Authorizations = new[]
{
new Meraki.Networks.Inputs.MerakiAuthUsersAuthorizationArgs
{
AuthorizedByEmail = "string",
AuthorizedByName = "string",
AuthorizedZone = "string",
ExpiresAt = "string",
SsidNumber = 0,
},
},
Email = "string",
EmailPasswordToUser = false,
IsAdmin = false,
MerakiAuthUserId = "string",
Name = "string",
Password = "string",
});
example, err := networks.NewMerakiAuthUsers(ctx, "merakiAuthUsersResource", &networks.MerakiAuthUsersArgs{
NetworkId: pulumi.String("string"),
AccountType: pulumi.String("string"),
Authorizations: networks.MerakiAuthUsersAuthorizationArray{
&networks.MerakiAuthUsersAuthorizationArgs{
AuthorizedByEmail: pulumi.String("string"),
AuthorizedByName: pulumi.String("string"),
AuthorizedZone: pulumi.String("string"),
ExpiresAt: pulumi.String("string"),
SsidNumber: pulumi.Int(0),
},
},
Email: pulumi.String("string"),
EmailPasswordToUser: pulumi.Bool(false),
IsAdmin: pulumi.Bool(false),
MerakiAuthUserId: pulumi.String("string"),
Name: pulumi.String("string"),
Password: pulumi.String("string"),
})
var merakiAuthUsersResource = new MerakiAuthUsers("merakiAuthUsersResource", MerakiAuthUsersArgs.builder()
.networkId("string")
.accountType("string")
.authorizations(MerakiAuthUsersAuthorizationArgs.builder()
.authorizedByEmail("string")
.authorizedByName("string")
.authorizedZone("string")
.expiresAt("string")
.ssidNumber(0)
.build())
.email("string")
.emailPasswordToUser(false)
.isAdmin(false)
.merakiAuthUserId("string")
.name("string")
.password("string")
.build());
meraki_auth_users_resource = meraki.networks.MerakiAuthUsers("merakiAuthUsersResource",
network_id="string",
account_type="string",
authorizations=[{
"authorized_by_email": "string",
"authorized_by_name": "string",
"authorized_zone": "string",
"expires_at": "string",
"ssid_number": 0,
}],
email="string",
email_password_to_user=False,
is_admin=False,
meraki_auth_user_id="string",
name="string",
password="string")
const merakiAuthUsersResource = new meraki.networks.MerakiAuthUsers("merakiAuthUsersResource", {
networkId: "string",
accountType: "string",
authorizations: [{
authorizedByEmail: "string",
authorizedByName: "string",
authorizedZone: "string",
expiresAt: "string",
ssidNumber: 0,
}],
email: "string",
emailPasswordToUser: false,
isAdmin: false,
merakiAuthUserId: "string",
name: "string",
password: "string",
});
type: meraki:networks:MerakiAuthUsers
properties:
accountType: string
authorizations:
- authorizedByEmail: string
authorizedByName: string
authorizedZone: string
expiresAt: string
ssidNumber: 0
email: string
emailPasswordToUser: false
isAdmin: false
merakiAuthUserId: string
name: string
networkId: string
password: string
MerakiAuthUsers 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 MerakiAuthUsers resource accepts the following input properties:
- Network
Id string - networkId path parameter. Network ID
- Account
Type string - Authorization type for user.
- List<Meraki
Auth Users Authorization> - User authorization info
- Email string
- Email address of the user
- Email
Password boolTo User - Whether or not Meraki should email the password to user. Default is false.
- Is
Admin bool - Whether or not the user is a Dashboard administrator
- Meraki
Auth stringUser Id - merakiAuthUserId path parameter. Meraki auth user ID
- Name string
- Name of the user
- Password string
- The password for this user account. Only required If the user is not a Dashboard administrator.
- Network
Id string - networkId path parameter. Network ID
- Account
Type string - Authorization type for user.
- []Meraki
Auth Users Authorization Args - User authorization info
- Email string
- Email address of the user
- Email
Password boolTo User - Whether or not Meraki should email the password to user. Default is false.
- Is
Admin bool - Whether or not the user is a Dashboard administrator
- Meraki
Auth stringUser Id - merakiAuthUserId path parameter. Meraki auth user ID
- Name string
- Name of the user
- Password string
- The password for this user account. Only required If the user is not a Dashboard administrator.
- network
Id String - networkId path parameter. Network ID
- account
Type String - Authorization type for user.
- List<Meraki
Auth Users Authorization> - User authorization info
- email String
- Email address of the user
- email
Password BooleanTo User - Whether or not Meraki should email the password to user. Default is false.
- is
Admin Boolean - Whether or not the user is a Dashboard administrator
- meraki
Auth StringUser Id - merakiAuthUserId path parameter. Meraki auth user ID
- name String
- Name of the user
- password String
- The password for this user account. Only required If the user is not a Dashboard administrator.
- network
Id string - networkId path parameter. Network ID
- account
Type string - Authorization type for user.
- Meraki
Auth Users Authorization[] - User authorization info
- email string
- Email address of the user
- email
Password booleanTo User - Whether or not Meraki should email the password to user. Default is false.
- is
Admin boolean - Whether or not the user is a Dashboard administrator
- meraki
Auth stringUser Id - merakiAuthUserId path parameter. Meraki auth user ID
- name string
- Name of the user
- password string
- The password for this user account. Only required If the user is not a Dashboard administrator.
- network_
id str - networkId path parameter. Network ID
- account_
type str - Authorization type for user.
- Sequence[Meraki
Auth Users Authorization Args] - User authorization info
- email str
- Email address of the user
- email_
password_ boolto_ user - Whether or not Meraki should email the password to user. Default is false.
- is_
admin bool - Whether or not the user is a Dashboard administrator
- meraki_
auth_ struser_ id - merakiAuthUserId path parameter. Meraki auth user ID
- name str
- Name of the user
- password str
- The password for this user account. Only required If the user is not a Dashboard administrator.
- network
Id String - networkId path parameter. Network ID
- account
Type String - Authorization type for user.
- List<Property Map>
- User authorization info
- email String
- Email address of the user
- email
Password BooleanTo User - Whether or not Meraki should email the password to user. Default is false.
- is
Admin Boolean - Whether or not the user is a Dashboard administrator
- meraki
Auth StringUser Id - merakiAuthUserId path parameter. Meraki auth user ID
- name String
- Name of the user
- password String
- The password for this user account. Only required If the user is not a Dashboard administrator.
Outputs
All input properties are implicitly available as output properties. Additionally, the MerakiAuthUsers resource produces the following output properties:
- created_
at str - Creation time of the user
- id str
- The provider-assigned unique ID for this managed resource.
Look up Existing MerakiAuthUsers Resource
Get an existing MerakiAuthUsers 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?: MerakiAuthUsersState, opts?: CustomResourceOptions): MerakiAuthUsers
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_type: Optional[str] = None,
authorizations: Optional[Sequence[MerakiAuthUsersAuthorizationArgs]] = None,
created_at: Optional[str] = None,
email: Optional[str] = None,
email_password_to_user: Optional[bool] = None,
is_admin: Optional[bool] = None,
meraki_auth_user_id: Optional[str] = None,
name: Optional[str] = None,
network_id: Optional[str] = None,
password: Optional[str] = None) -> MerakiAuthUsers
func GetMerakiAuthUsers(ctx *Context, name string, id IDInput, state *MerakiAuthUsersState, opts ...ResourceOption) (*MerakiAuthUsers, error)
public static MerakiAuthUsers Get(string name, Input<string> id, MerakiAuthUsersState? state, CustomResourceOptions? opts = null)
public static MerakiAuthUsers get(String name, Output<String> id, MerakiAuthUsersState 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.
- Account
Type string - Authorization type for user.
- List<Meraki
Auth Users Authorization> - User authorization info
- Created
At string - Creation time of the user
- Email string
- Email address of the user
- Email
Password boolTo User - Whether or not Meraki should email the password to user. Default is false.
- Is
Admin bool - Whether or not the user is a Dashboard administrator
- Meraki
Auth stringUser Id - merakiAuthUserId path parameter. Meraki auth user ID
- Name string
- Name of the user
- Network
Id string - networkId path parameter. Network ID
- Password string
- The password for this user account. Only required If the user is not a Dashboard administrator.
- Account
Type string - Authorization type for user.
- []Meraki
Auth Users Authorization Args - User authorization info
- Created
At string - Creation time of the user
- Email string
- Email address of the user
- Email
Password boolTo User - Whether or not Meraki should email the password to user. Default is false.
- Is
Admin bool - Whether or not the user is a Dashboard administrator
- Meraki
Auth stringUser Id - merakiAuthUserId path parameter. Meraki auth user ID
- Name string
- Name of the user
- Network
Id string - networkId path parameter. Network ID
- Password string
- The password for this user account. Only required If the user is not a Dashboard administrator.
- account
Type String - Authorization type for user.
- List<Meraki
Auth Users Authorization> - User authorization info
- created
At String - Creation time of the user
- email String
- Email address of the user
- email
Password BooleanTo User - Whether or not Meraki should email the password to user. Default is false.
- is
Admin Boolean - Whether or not the user is a Dashboard administrator
- meraki
Auth StringUser Id - merakiAuthUserId path parameter. Meraki auth user ID
- name String
- Name of the user
- network
Id String - networkId path parameter. Network ID
- password String
- The password for this user account. Only required If the user is not a Dashboard administrator.
- account
Type string - Authorization type for user.
- Meraki
Auth Users Authorization[] - User authorization info
- created
At string - Creation time of the user
- email string
- Email address of the user
- email
Password booleanTo User - Whether or not Meraki should email the password to user. Default is false.
- is
Admin boolean - Whether or not the user is a Dashboard administrator
- meraki
Auth stringUser Id - merakiAuthUserId path parameter. Meraki auth user ID
- name string
- Name of the user
- network
Id string - networkId path parameter. Network ID
- password string
- The password for this user account. Only required If the user is not a Dashboard administrator.
- account_
type str - Authorization type for user.
- Sequence[Meraki
Auth Users Authorization Args] - User authorization info
- created_
at str - Creation time of the user
- email str
- Email address of the user
- email_
password_ boolto_ user - Whether or not Meraki should email the password to user. Default is false.
- is_
admin bool - Whether or not the user is a Dashboard administrator
- meraki_
auth_ struser_ id - merakiAuthUserId path parameter. Meraki auth user ID
- name str
- Name of the user
- network_
id str - networkId path parameter. Network ID
- password str
- The password for this user account. Only required If the user is not a Dashboard administrator.
- account
Type String - Authorization type for user.
- List<Property Map>
- User authorization info
- created
At String - Creation time of the user
- email String
- Email address of the user
- email
Password BooleanTo User - Whether or not Meraki should email the password to user. Default is false.
- is
Admin Boolean - Whether or not the user is a Dashboard administrator
- meraki
Auth StringUser Id - merakiAuthUserId path parameter. Meraki auth user ID
- name String
- Name of the user
- network
Id String - networkId path parameter. Network ID
- password String
- The password for this user account. Only required If the user is not a Dashboard administrator.
Supporting Types
MerakiAuthUsersAuthorization, MerakiAuthUsersAuthorizationArgs
- string
- User is authorized by the account email address
- string
- User is authorized by the account name
- string
- Authorized zone of the user
- Expires
At string - Authorization expiration time
- Ssid
Number int - SSID number
- string
- User is authorized by the account email address
- string
- User is authorized by the account name
- string
- Authorized zone of the user
- Expires
At string - Authorization expiration time
- Ssid
Number int - SSID number
- String
- User is authorized by the account email address
- String
- User is authorized by the account name
- String
- Authorized zone of the user
- expires
At String - Authorization expiration time
- ssid
Number Integer - SSID number
- string
- User is authorized by the account email address
- string
- User is authorized by the account name
- string
- Authorized zone of the user
- expires
At string - Authorization expiration time
- ssid
Number number - SSID number
- str
- User is authorized by the account email address
- str
- User is authorized by the account name
- str
- Authorized zone of the user
- expires_
at str - Authorization expiration time
- ssid_
number int - SSID number
- String
- User is authorized by the account email address
- String
- User is authorized by the account name
- String
- Authorized zone of the user
- expires
At String - Authorization expiration time
- ssid
Number Number - SSID number
Import
$ pulumi import meraki:networks/merakiAuthUsers:MerakiAuthUsers example "meraki_auth_user_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.