AccessGroup

Provides a Nas Access Group resource.

In NAS, the permission group acts as a whitelist that allows you to restrict file system access. You can allow specified IP addresses or CIDR blocks to access the file system, and assign different levels of access permission to different IP addresses or CIDR blocks by adding rules to the permission group.

NOTE: Available in v1.33.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var foo = new AliCloud.Nas.AccessGroup("foo", new AliCloud.Nas.AccessGroupArgs
        {
            Description = "test_AccessG",
            Type = "Classic",
        });
    }

}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

foo = alicloud.nas.AccessGroup("foo",
    description="test_AccessG",
    type="Classic")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const foo = new alicloud.nas.AccessGroup("foo", {
    description: "test_AccessG",
    type: "Classic",
});

Create a AccessGroup Resource

def AccessGroup(resource_name, opts=None, description=None, name=None, type=None, __props__=None);
func NewAccessGroup(ctx *Context, name string, args AccessGroupArgs, opts ...ResourceOption) (*AccessGroup, error)
public AccessGroup(string name, AccessGroupArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args AccessGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AccessGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AccessGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

AccessGroup Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The AccessGroup resource accepts the following input properties:

Type string

A Type of one Access Group. Valid values: Vpc and Classic.

Description string

The Access Group description.

Name string

A Name of one Access Group.

Type string

A Type of one Access Group. Valid values: Vpc and Classic.

Description string

The Access Group description.

Name string

A Name of one Access Group.

type string

A Type of one Access Group. Valid values: Vpc and Classic.

description string

The Access Group description.

name string

A Name of one Access Group.

type str

A Type of one Access Group. Valid values: Vpc and Classic.

description str

The Access Group description.

name str

A Name of one Access Group.

Outputs

All input properties are implicitly available as output properties. Additionally, the AccessGroup 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 str
The provider-assigned unique ID for this managed resource.

Look up an Existing AccessGroup Resource

Get an existing AccessGroup 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?: AccessGroupState, opts?: CustomResourceOptions): AccessGroup
static get(resource_name, id, opts=None, description=None, name=None, type=None, __props__=None);
func GetAccessGroup(ctx *Context, name string, id IDInput, state *AccessGroupState, opts ...ResourceOption) (*AccessGroup, error)
public static AccessGroup Get(string name, Input<string> id, AccessGroupState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

Description string

The Access Group description.

Name string

A Name of one Access Group.

Type string

A Type of one Access Group. Valid values: Vpc and Classic.

Description string

The Access Group description.

Name string

A Name of one Access Group.

Type string

A Type of one Access Group. Valid values: Vpc and Classic.

description string

The Access Group description.

name string

A Name of one Access Group.

type string

A Type of one Access Group. Valid values: Vpc and Classic.

description str

The Access Group description.

name str

A Name of one Access Group.

type str

A Type of one Access Group. Valid values: Vpc and Classic.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.