Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

ServiceACLEntriesv1

Import

This is an example of the import command being applied to the resource named fastly_service_acl_entries_v1.entries The resource ID is a combined value of the service_id and acl_id separated by a forward slash.

 $ pulumi import fastly:index/serviceACLEntriesv1:ServiceACLEntriesv1 entries xxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxx

If Terraform is already managing remote acl entries against a resource being imported then the user will be asked to remove it from the existing Terraform state.

The following is an example of the Terraform state command to remove the resource named fastly_service_acl_entries_v1.entries from the Terraform state file. $ terraform state rm fastly_service_acl_entries_v1.entries

Create a ServiceACLEntriesv1 Resource

new ServiceACLEntriesv1(name: string, args: ServiceACLEntriesv1Args, opts?: CustomResourceOptions);
def ServiceACLEntriesv1(resource_name: str, opts: Optional[ResourceOptions] = None, acl_id: Optional[str] = None, entries: Optional[Sequence[ServiceACLEntriesv1EntryArgs]] = None, service_id: Optional[str] = None)
func NewServiceACLEntriesv1(ctx *Context, name string, args ServiceACLEntriesv1Args, opts ...ResourceOption) (*ServiceACLEntriesv1, error)
public ServiceACLEntriesv1(string name, ServiceACLEntriesv1Args args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ServiceACLEntriesv1Args
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 ServiceACLEntriesv1Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ServiceACLEntriesv1Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ServiceACLEntriesv1 Resource Properties

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

Inputs

The ServiceACLEntriesv1 resource accepts the following input properties:

AclId string

The ID of the ACL that the items belong to

ServiceId string

The ID of the Service that the ACL belongs to

Entries List<ServiceACLEntriesv1EntryArgs>

A Set ACL entries that are applied to the service. Defined below

AclId string

The ID of the ACL that the items belong to

ServiceId string

The ID of the Service that the ACL belongs to

Entries []ServiceACLEntriesv1Entry

A Set ACL entries that are applied to the service. Defined below

aclId string

The ID of the ACL that the items belong to

serviceId string

The ID of the Service that the ACL belongs to

entries ServiceACLEntriesv1Entry[]

A Set ACL entries that are applied to the service. Defined below

acl_id str

The ID of the ACL that the items belong to

service_id str

The ID of the Service that the ACL belongs to

entries Sequence[ServiceACLEntriesv1EntryArgs]

A Set ACL entries that are applied to the service. Defined below

Outputs

All input properties are implicitly available as output properties. Additionally, the ServiceACLEntriesv1 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 ServiceACLEntriesv1 Resource

Get an existing ServiceACLEntriesv1 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?: ServiceACLEntriesv1State, opts?: CustomResourceOptions): ServiceACLEntriesv1
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, acl_id: Optional[str] = None, entries: Optional[Sequence[ServiceACLEntriesv1EntryArgs]] = None, service_id: Optional[str] = None) -> ServiceACLEntriesv1
func GetServiceACLEntriesv1(ctx *Context, name string, id IDInput, state *ServiceACLEntriesv1State, opts ...ResourceOption) (*ServiceACLEntriesv1, error)
public static ServiceACLEntriesv1 Get(string name, Input<string> id, ServiceACLEntriesv1State? 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:

AclId string

The ID of the ACL that the items belong to

Entries List<ServiceACLEntriesv1EntryArgs>

A Set ACL entries that are applied to the service. Defined below

ServiceId string

The ID of the Service that the ACL belongs to

AclId string

The ID of the ACL that the items belong to

Entries []ServiceACLEntriesv1Entry

A Set ACL entries that are applied to the service. Defined below

ServiceId string

The ID of the Service that the ACL belongs to

aclId string

The ID of the ACL that the items belong to

entries ServiceACLEntriesv1Entry[]

A Set ACL entries that are applied to the service. Defined below

serviceId string

The ID of the Service that the ACL belongs to

acl_id str

The ID of the ACL that the items belong to

entries Sequence[ServiceACLEntriesv1EntryArgs]

A Set ACL entries that are applied to the service. Defined below

service_id str

The ID of the Service that the ACL belongs to

Supporting Types

ServiceACLEntriesv1Entry

Ip string

An IP address that is the focus for the ACL

Comment string

A personal freeform descriptive note

Id string
Negated bool

A boolean that will negate the match if true

Subnet string

An optional subnet mask applied to the IP address

Ip string

An IP address that is the focus for the ACL

Comment string

A personal freeform descriptive note

Id string
Negated bool

A boolean that will negate the match if true

Subnet string

An optional subnet mask applied to the IP address

ip string

An IP address that is the focus for the ACL

comment string

A personal freeform descriptive note

id string
negated boolean

A boolean that will negate the match if true

subnet string

An optional subnet mask applied to the IP address

ip str

An IP address that is the focus for the ACL

comment str

A personal freeform descriptive note

id str
negated bool

A boolean that will negate the match if true

subnet str

An optional subnet mask applied to the IP address

Package Details

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