aviatrix.AviatrixRbacGroup
Explore with Pulumi AI
The aviatrix_rbac_group resource allows the creation and management of Aviatrix (Role-Based Access Control) RBAC groups.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Aviatrix = Pulumi.Aviatrix;
return await Deployment.RunAsync(() =>
{
// Create an Aviatrix RBAC Group
var testGroup = new Aviatrix.AviatrixRbacGroup("testGroup", new()
{
GroupName = "write_only",
});
});
package main
import (
"github.com/astipkovits/pulumi-aviatrix/sdk/go/aviatrix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aviatrix.NewAviatrixRbacGroup(ctx, "testGroup", &aviatrix.AviatrixRbacGroupArgs{
GroupName: pulumi.String("write_only"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aviatrix.AviatrixRbacGroup;
import com.pulumi.aviatrix.AviatrixRbacGroupArgs;
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 testGroup = new AviatrixRbacGroup("testGroup", AviatrixRbacGroupArgs.builder()
.groupName("write_only")
.build());
}
}
import pulumi
import pulumi_aviatrix as aviatrix
# Create an Aviatrix RBAC Group
test_group = aviatrix.AviatrixRbacGroup("testGroup", group_name="write_only")
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";
// Create an Aviatrix RBAC Group
const testGroup = new aviatrix.AviatrixRbacGroup("test_group", {
groupName: "write_only",
});
resources:
# Create an Aviatrix RBAC Group
testGroup:
type: aviatrix:AviatrixRbacGroup
properties:
groupName: write_only
Create AviatrixRbacGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AviatrixRbacGroup(name: string, args: AviatrixRbacGroupArgs, opts?: CustomResourceOptions);
@overload
def AviatrixRbacGroup(resource_name: str,
args: AviatrixRbacGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AviatrixRbacGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
group_name: Optional[str] = None,
local_login: Optional[bool] = None)
func NewAviatrixRbacGroup(ctx *Context, name string, args AviatrixRbacGroupArgs, opts ...ResourceOption) (*AviatrixRbacGroup, error)
public AviatrixRbacGroup(string name, AviatrixRbacGroupArgs args, CustomResourceOptions? opts = null)
public AviatrixRbacGroup(String name, AviatrixRbacGroupArgs args)
public AviatrixRbacGroup(String name, AviatrixRbacGroupArgs args, CustomResourceOptions options)
type: aviatrix:AviatrixRbacGroup
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 AviatrixRbacGroupArgs
- 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 AviatrixRbacGroupArgs
- 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 AviatrixRbacGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AviatrixRbacGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AviatrixRbacGroupArgs
- 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 aviatrixRbacGroupResource = new Aviatrix.AviatrixRbacGroup("aviatrixRbacGroupResource", new()
{
GroupName = "string",
LocalLogin = false,
});
example, err := aviatrix.NewAviatrixRbacGroup(ctx, "aviatrixRbacGroupResource", &aviatrix.AviatrixRbacGroupArgs{
GroupName: pulumi.String("string"),
LocalLogin: pulumi.Bool(false),
})
var aviatrixRbacGroupResource = new AviatrixRbacGroup("aviatrixRbacGroupResource", AviatrixRbacGroupArgs.builder()
.groupName("string")
.localLogin(false)
.build());
aviatrix_rbac_group_resource = aviatrix.AviatrixRbacGroup("aviatrixRbacGroupResource",
group_name="string",
local_login=False)
const aviatrixRbacGroupResource = new aviatrix.AviatrixRbacGroup("aviatrixRbacGroupResource", {
groupName: "string",
localLogin: false,
});
type: aviatrix:AviatrixRbacGroup
properties:
groupName: string
localLogin: false
AviatrixRbacGroup 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 AviatrixRbacGroup resource accepts the following input properties:
- Group
Name string - This parameter represents the name of a RBAC group to be created.
- Local
Login bool - Whether to allow members of an RBAC group to bypass LDAP/MFA for Duo login . Supported values: true, false. Default value: false. Available in provider version R2.17.1+.
- Group
Name string - This parameter represents the name of a RBAC group to be created.
- Local
Login bool - Whether to allow members of an RBAC group to bypass LDAP/MFA for Duo login . Supported values: true, false. Default value: false. Available in provider version R2.17.1+.
- group
Name String - This parameter represents the name of a RBAC group to be created.
- local
Login Boolean - Whether to allow members of an RBAC group to bypass LDAP/MFA for Duo login . Supported values: true, false. Default value: false. Available in provider version R2.17.1+.
- group
Name string - This parameter represents the name of a RBAC group to be created.
- local
Login boolean - Whether to allow members of an RBAC group to bypass LDAP/MFA for Duo login . Supported values: true, false. Default value: false. Available in provider version R2.17.1+.
- group_
name str - This parameter represents the name of a RBAC group to be created.
- local_
login bool - Whether to allow members of an RBAC group to bypass LDAP/MFA for Duo login . Supported values: true, false. Default value: false. Available in provider version R2.17.1+.
- group
Name String - This parameter represents the name of a RBAC group to be created.
- local
Login Boolean - Whether to allow members of an RBAC group to bypass LDAP/MFA for Duo login . Supported values: true, false. Default value: false. Available in provider version R2.17.1+.
Outputs
All input properties are implicitly available as output properties. Additionally, the AviatrixRbacGroup 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 AviatrixRbacGroup Resource
Get an existing AviatrixRbacGroup 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?: AviatrixRbacGroupState, opts?: CustomResourceOptions): AviatrixRbacGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
group_name: Optional[str] = None,
local_login: Optional[bool] = None) -> AviatrixRbacGroup
func GetAviatrixRbacGroup(ctx *Context, name string, id IDInput, state *AviatrixRbacGroupState, opts ...ResourceOption) (*AviatrixRbacGroup, error)
public static AviatrixRbacGroup Get(string name, Input<string> id, AviatrixRbacGroupState? state, CustomResourceOptions? opts = null)
public static AviatrixRbacGroup get(String name, Output<String> id, AviatrixRbacGroupState 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.
- Group
Name string - This parameter represents the name of a RBAC group to be created.
- Local
Login bool - Whether to allow members of an RBAC group to bypass LDAP/MFA for Duo login . Supported values: true, false. Default value: false. Available in provider version R2.17.1+.
- Group
Name string - This parameter represents the name of a RBAC group to be created.
- Local
Login bool - Whether to allow members of an RBAC group to bypass LDAP/MFA for Duo login . Supported values: true, false. Default value: false. Available in provider version R2.17.1+.
- group
Name String - This parameter represents the name of a RBAC group to be created.
- local
Login Boolean - Whether to allow members of an RBAC group to bypass LDAP/MFA for Duo login . Supported values: true, false. Default value: false. Available in provider version R2.17.1+.
- group
Name string - This parameter represents the name of a RBAC group to be created.
- local
Login boolean - Whether to allow members of an RBAC group to bypass LDAP/MFA for Duo login . Supported values: true, false. Default value: false. Available in provider version R2.17.1+.
- group_
name str - This parameter represents the name of a RBAC group to be created.
- local_
login bool - Whether to allow members of an RBAC group to bypass LDAP/MFA for Duo login . Supported values: true, false. Default value: false. Available in provider version R2.17.1+.
- group
Name String - This parameter represents the name of a RBAC group to be created.
- local
Login Boolean - Whether to allow members of an RBAC group to bypass LDAP/MFA for Duo login . Supported values: true, false. Default value: false. Available in provider version R2.17.1+.
Import
rbac_group can be imported using the group_name
, e.g.
$ pulumi import aviatrix:index/aviatrixRbacGroup:AviatrixRbacGroup test group_name
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- aviatrix astipkovits/pulumi-aviatrix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aviatrix
Terraform Provider.