Show / Hide Table of Contents

Class 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",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
AccessGroup
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Nas
Assembly: Pulumi.AliCloud.dll
Syntax
public class AccessGroup : CustomResource

Constructors

View Source

AccessGroup(String, AccessGroupArgs, CustomResourceOptions)

Create a AccessGroup resource with the given unique name, arguments, and options.

Declaration
public AccessGroup(string name, AccessGroupArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

AccessGroupArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Description

The Access Group description.

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

A Name of one Access Group.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Type

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

Declaration
public Output<string> Type { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, AccessGroupState, CustomResourceOptions)

Get an existing AccessGroup resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static AccessGroup Get(string name, Input<string> id, AccessGroupState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

AccessGroupState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
AccessGroup
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.