1. Packages
  2. Outscale Provider
  3. API Docs
  4. SnapshotAttributes
outscale 1.1.0 published on Thursday, Apr 3, 2025 by outscale

outscale.SnapshotAttributes

Explore with Pulumi AI

Manages snapshot attributes.

For more information on this resource, see the User Guide.
For more information on this resource actions, see the API documentation.

Example Usage

Required resources

import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";

const volume01 = new outscale.Volume("volume01", {
    subregionName: "eu-west-2a",
    size: 40,
});
const snapshot01 = new outscale.Snapshot("snapshot01", {
    volumeId: volume01.volumeId,
    tags: [{
        key: "name",
        value: "terraform-snapshot-test",
    }],
});
Copy
import pulumi
import pulumi_outscale as outscale

volume01 = outscale.Volume("volume01",
    subregion_name="eu-west-2a",
    size=40)
snapshot01 = outscale.Snapshot("snapshot01",
    volume_id=volume01.volume_id,
    tags=[{
        "key": "name",
        "value": "terraform-snapshot-test",
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		volume01, err := outscale.NewVolume(ctx, "volume01", &outscale.VolumeArgs{
			SubregionName: pulumi.String("eu-west-2a"),
			Size:          pulumi.Float64(40),
		})
		if err != nil {
			return err
		}
		_, err = outscale.NewSnapshot(ctx, "snapshot01", &outscale.SnapshotArgs{
			VolumeId: volume01.VolumeId,
			Tags: outscale.SnapshotTagArray{
				&outscale.SnapshotTagArgs{
					Key:   pulumi.String("name"),
					Value: pulumi.String("terraform-snapshot-test"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;

return await Deployment.RunAsync(() => 
{
    var volume01 = new Outscale.Volume("volume01", new()
    {
        SubregionName = "eu-west-2a",
        Size = 40,
    });

    var snapshot01 = new Outscale.Snapshot("snapshot01", new()
    {
        VolumeId = volume01.VolumeId,
        Tags = new[]
        {
            new Outscale.Inputs.SnapshotTagArgs
            {
                Key = "name",
                Value = "terraform-snapshot-test",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.Volume;
import com.pulumi.outscale.VolumeArgs;
import com.pulumi.outscale.Snapshot;
import com.pulumi.outscale.SnapshotArgs;
import com.pulumi.outscale.inputs.SnapshotTagArgs;
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 volume01 = new Volume("volume01", VolumeArgs.builder()
            .subregionName("eu-west-2a")
            .size(40)
            .build());

        var snapshot01 = new Snapshot("snapshot01", SnapshotArgs.builder()
            .volumeId(volume01.volumeId())
            .tags(SnapshotTagArgs.builder()
                .key("name")
                .value("terraform-snapshot-test")
                .build())
            .build());

    }
}
Copy
resources:
  volume01:
    type: outscale:Volume
    properties:
      subregionName: eu-west-2a
      size: 40
  snapshot01:
    type: outscale:Snapshot
    properties:
      volumeId: ${volume01.volumeId}
      tags:
        - key: name
          value: terraform-snapshot-test
Copy

Add permissions

import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";

const snapshotAttributes01 = new outscale.SnapshotAttributes("snapshotAttributes01", {
    snapshotId: outscale_snapshot.snapshot01.snapshot_id,
    permissionsToCreateVolumeAdditions: {
        accountIds: ["012345678910"],
    },
});
Copy
import pulumi
import pulumi_outscale as outscale

snapshot_attributes01 = outscale.SnapshotAttributes("snapshotAttributes01",
    snapshot_id=outscale_snapshot["snapshot01"]["snapshot_id"],
    permissions_to_create_volume_additions={
        "account_ids": ["012345678910"],
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := outscale.NewSnapshotAttributes(ctx, "snapshotAttributes01", &outscale.SnapshotAttributesArgs{
			SnapshotId: pulumi.Any(outscale_snapshot.Snapshot01.Snapshot_id),
			PermissionsToCreateVolumeAdditions: &outscale.SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs{
				AccountIds: pulumi.StringArray{
					pulumi.String("012345678910"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;

return await Deployment.RunAsync(() => 
{
    var snapshotAttributes01 = new Outscale.SnapshotAttributes("snapshotAttributes01", new()
    {
        SnapshotId = outscale_snapshot.Snapshot01.Snapshot_id,
        PermissionsToCreateVolumeAdditions = new Outscale.Inputs.SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs
        {
            AccountIds = new[]
            {
                "012345678910",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.SnapshotAttributes;
import com.pulumi.outscale.SnapshotAttributesArgs;
import com.pulumi.outscale.inputs.SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs;
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 snapshotAttributes01 = new SnapshotAttributes("snapshotAttributes01", SnapshotAttributesArgs.builder()
            .snapshotId(outscale_snapshot.snapshot01().snapshot_id())
            .permissionsToCreateVolumeAdditions(SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs.builder()
                .accountIds("012345678910")
                .build())
            .build());

    }
}
Copy
resources:
  snapshotAttributes01:
    type: outscale:SnapshotAttributes
    properties:
      snapshotId: ${outscale_snapshot.snapshot01.snapshot_id}
      permissionsToCreateVolumeAdditions:
        accountIds:
          - '012345678910'
Copy

Remove permissions

import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";

const snapshotAttributes02 = new outscale.SnapshotAttributes("snapshotAttributes02", {
    snapshotId: outscale_snapshot.snapshot01.snapshot_id,
    permissionsToCreateVolumeRemovals: [{
        accountIds: ["012345678910"],
    }],
});
Copy
import pulumi
import pulumi_outscale as outscale

snapshot_attributes02 = outscale.SnapshotAttributes("snapshotAttributes02",
    snapshot_id=outscale_snapshot["snapshot01"]["snapshot_id"],
    permissions_to_create_volume_removals=[{
        "account_ids": ["012345678910"],
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := outscale.NewSnapshotAttributes(ctx, "snapshotAttributes02", &outscale.SnapshotAttributesArgs{
			SnapshotId: pulumi.Any(outscale_snapshot.Snapshot01.Snapshot_id),
			PermissionsToCreateVolumeRemovals: outscale.SnapshotAttributesPermissionsToCreateVolumeRemovalArray{
				&outscale.SnapshotAttributesPermissionsToCreateVolumeRemovalArgs{
					AccountIds: pulumi.StringArray{
						pulumi.String("012345678910"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;

return await Deployment.RunAsync(() => 
{
    var snapshotAttributes02 = new Outscale.SnapshotAttributes("snapshotAttributes02", new()
    {
        SnapshotId = outscale_snapshot.Snapshot01.Snapshot_id,
        PermissionsToCreateVolumeRemovals = new[]
        {
            new Outscale.Inputs.SnapshotAttributesPermissionsToCreateVolumeRemovalArgs
            {
                AccountIds = new[]
                {
                    "012345678910",
                },
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.SnapshotAttributes;
import com.pulumi.outscale.SnapshotAttributesArgs;
import com.pulumi.outscale.inputs.SnapshotAttributesPermissionsToCreateVolumeRemovalArgs;
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 snapshotAttributes02 = new SnapshotAttributes("snapshotAttributes02", SnapshotAttributesArgs.builder()
            .snapshotId(outscale_snapshot.snapshot01().snapshot_id())
            .permissionsToCreateVolumeRemovals(SnapshotAttributesPermissionsToCreateVolumeRemovalArgs.builder()
                .accountIds("012345678910")
                .build())
            .build());

    }
}
Copy
resources:
  snapshotAttributes02:
    type: outscale:SnapshotAttributes
    properties:
      snapshotId: ${outscale_snapshot.snapshot01.snapshot_id}
      permissionsToCreateVolumeRemovals:
        - accountIds:
            - '012345678910'
Copy

Create SnapshotAttributes Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SnapshotAttributes(name: string, args: SnapshotAttributesArgs, opts?: CustomResourceOptions);
@overload
def SnapshotAttributes(resource_name: str,
                       args: SnapshotAttributesArgs,
                       opts: Optional[ResourceOptions] = None)

@overload
def SnapshotAttributes(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       snapshot_id: Optional[str] = None,
                       permissions_to_create_volume_additions: Optional[SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs] = None,
                       permissions_to_create_volume_removals: Optional[Sequence[SnapshotAttributesPermissionsToCreateVolumeRemovalArgs]] = None,
                       snapshot_attributes_id: Optional[str] = None)
func NewSnapshotAttributes(ctx *Context, name string, args SnapshotAttributesArgs, opts ...ResourceOption) (*SnapshotAttributes, error)
public SnapshotAttributes(string name, SnapshotAttributesArgs args, CustomResourceOptions? opts = null)
public SnapshotAttributes(String name, SnapshotAttributesArgs args)
public SnapshotAttributes(String name, SnapshotAttributesArgs args, CustomResourceOptions options)
type: outscale:SnapshotAttributes
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SnapshotAttributesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SnapshotAttributesArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SnapshotAttributesArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SnapshotAttributesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SnapshotAttributesArgs
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 snapshotAttributesResource = new Outscale.SnapshotAttributes("snapshotAttributesResource", new()
{
    SnapshotId = "string",
    PermissionsToCreateVolumeAdditions = new Outscale.Inputs.SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs
    {
        AccountIds = new[]
        {
            "string",
        },
        GlobalPermission = false,
    },
    PermissionsToCreateVolumeRemovals = new[]
    {
        new Outscale.Inputs.SnapshotAttributesPermissionsToCreateVolumeRemovalArgs
        {
            AccountIds = new[]
            {
                "string",
            },
            GlobalPermission = false,
        },
    },
    SnapshotAttributesId = "string",
});
Copy
example, err := outscale.NewSnapshotAttributes(ctx, "snapshotAttributesResource", &outscale.SnapshotAttributesArgs{
SnapshotId: pulumi.String("string"),
PermissionsToCreateVolumeAdditions: &.SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs{
AccountIds: pulumi.StringArray{
pulumi.String("string"),
},
GlobalPermission: pulumi.Bool(false),
},
PermissionsToCreateVolumeRemovals: .SnapshotAttributesPermissionsToCreateVolumeRemovalArray{
&.SnapshotAttributesPermissionsToCreateVolumeRemovalArgs{
AccountIds: pulumi.StringArray{
pulumi.String("string"),
},
GlobalPermission: pulumi.Bool(false),
},
},
SnapshotAttributesId: pulumi.String("string"),
})
Copy
var snapshotAttributesResource = new SnapshotAttributes("snapshotAttributesResource", SnapshotAttributesArgs.builder()
    .snapshotId("string")
    .permissionsToCreateVolumeAdditions(SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs.builder()
        .accountIds("string")
        .globalPermission(false)
        .build())
    .permissionsToCreateVolumeRemovals(SnapshotAttributesPermissionsToCreateVolumeRemovalArgs.builder()
        .accountIds("string")
        .globalPermission(false)
        .build())
    .snapshotAttributesId("string")
    .build());
Copy
snapshot_attributes_resource = outscale.SnapshotAttributes("snapshotAttributesResource",
    snapshot_id="string",
    permissions_to_create_volume_additions={
        "account_ids": ["string"],
        "global_permission": False,
    },
    permissions_to_create_volume_removals=[{
        "account_ids": ["string"],
        "global_permission": False,
    }],
    snapshot_attributes_id="string")
Copy
const snapshotAttributesResource = new outscale.SnapshotAttributes("snapshotAttributesResource", {
    snapshotId: "string",
    permissionsToCreateVolumeAdditions: {
        accountIds: ["string"],
        globalPermission: false,
    },
    permissionsToCreateVolumeRemovals: [{
        accountIds: ["string"],
        globalPermission: false,
    }],
    snapshotAttributesId: "string",
});
Copy
type: outscale:SnapshotAttributes
properties:
    permissionsToCreateVolumeAdditions:
        accountIds:
            - string
        globalPermission: false
    permissionsToCreateVolumeRemovals:
        - accountIds:
            - string
          globalPermission: false
    snapshotAttributesId: string
    snapshotId: string
Copy

SnapshotAttributes 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 SnapshotAttributes resource accepts the following input properties:

SnapshotId This property is required. string
The ID of the snapshot.
PermissionsToCreateVolumeAdditions SnapshotAttributesPermissionsToCreateVolumeAdditions
Information about the users to whom you want to give permissions for the resource.
PermissionsToCreateVolumeRemovals List<SnapshotAttributesPermissionsToCreateVolumeRemoval>
Information about the users from whom you want to remove permissions for the resource.
SnapshotAttributesId string
SnapshotId This property is required. string
The ID of the snapshot.
PermissionsToCreateVolumeAdditions SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs
Information about the users to whom you want to give permissions for the resource.
PermissionsToCreateVolumeRemovals []SnapshotAttributesPermissionsToCreateVolumeRemovalArgs
Information about the users from whom you want to remove permissions for the resource.
SnapshotAttributesId string
snapshotId This property is required. String
The ID of the snapshot.
permissionsToCreateVolumeAdditions SnapshotAttributesPermissionsToCreateVolumeAdditions
Information about the users to whom you want to give permissions for the resource.
permissionsToCreateVolumeRemovals List<SnapshotAttributesPermissionsToCreateVolumeRemoval>
Information about the users from whom you want to remove permissions for the resource.
snapshotAttributesId String
snapshotId This property is required. string
The ID of the snapshot.
permissionsToCreateVolumeAdditions SnapshotAttributesPermissionsToCreateVolumeAdditions
Information about the users to whom you want to give permissions for the resource.
permissionsToCreateVolumeRemovals SnapshotAttributesPermissionsToCreateVolumeRemoval[]
Information about the users from whom you want to remove permissions for the resource.
snapshotAttributesId string
snapshot_id This property is required. str
The ID of the snapshot.
permissions_to_create_volume_additions SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs
Information about the users to whom you want to give permissions for the resource.
permissions_to_create_volume_removals Sequence[SnapshotAttributesPermissionsToCreateVolumeRemovalArgs]
Information about the users from whom you want to remove permissions for the resource.
snapshot_attributes_id str
snapshotId This property is required. String
The ID of the snapshot.
permissionsToCreateVolumeAdditions Property Map
Information about the users to whom you want to give permissions for the resource.
permissionsToCreateVolumeRemovals List<Property Map>
Information about the users from whom you want to remove permissions for the resource.
snapshotAttributesId String

Outputs

All input properties are implicitly available as output properties. Additionally, the SnapshotAttributes resource produces the following output properties:

AccountId string
The account ID of the owner of the snapshot.
Id string
The provider-assigned unique ID for this managed resource.
RequestId string
AccountId string
The account ID of the owner of the snapshot.
Id string
The provider-assigned unique ID for this managed resource.
RequestId string
accountId String
The account ID of the owner of the snapshot.
id String
The provider-assigned unique ID for this managed resource.
requestId String
accountId string
The account ID of the owner of the snapshot.
id string
The provider-assigned unique ID for this managed resource.
requestId string
account_id str
The account ID of the owner of the snapshot.
id str
The provider-assigned unique ID for this managed resource.
request_id str
accountId String
The account ID of the owner of the snapshot.
id String
The provider-assigned unique ID for this managed resource.
requestId String

Look up Existing SnapshotAttributes Resource

Get an existing SnapshotAttributes 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?: SnapshotAttributesState, opts?: CustomResourceOptions): SnapshotAttributes
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[str] = None,
        permissions_to_create_volume_additions: Optional[SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs] = None,
        permissions_to_create_volume_removals: Optional[Sequence[SnapshotAttributesPermissionsToCreateVolumeRemovalArgs]] = None,
        request_id: Optional[str] = None,
        snapshot_attributes_id: Optional[str] = None,
        snapshot_id: Optional[str] = None) -> SnapshotAttributes
func GetSnapshotAttributes(ctx *Context, name string, id IDInput, state *SnapshotAttributesState, opts ...ResourceOption) (*SnapshotAttributes, error)
public static SnapshotAttributes Get(string name, Input<string> id, SnapshotAttributesState? state, CustomResourceOptions? opts = null)
public static SnapshotAttributes get(String name, Output<String> id, SnapshotAttributesState state, CustomResourceOptions options)
resources:  _:    type: outscale:SnapshotAttributes    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AccountId string
The account ID of the owner of the snapshot.
PermissionsToCreateVolumeAdditions SnapshotAttributesPermissionsToCreateVolumeAdditions
Information about the users to whom you want to give permissions for the resource.
PermissionsToCreateVolumeRemovals List<SnapshotAttributesPermissionsToCreateVolumeRemoval>
Information about the users from whom you want to remove permissions for the resource.
RequestId string
SnapshotAttributesId string
SnapshotId string
The ID of the snapshot.
AccountId string
The account ID of the owner of the snapshot.
PermissionsToCreateVolumeAdditions SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs
Information about the users to whom you want to give permissions for the resource.
PermissionsToCreateVolumeRemovals []SnapshotAttributesPermissionsToCreateVolumeRemovalArgs
Information about the users from whom you want to remove permissions for the resource.
RequestId string
SnapshotAttributesId string
SnapshotId string
The ID of the snapshot.
accountId String
The account ID of the owner of the snapshot.
permissionsToCreateVolumeAdditions SnapshotAttributesPermissionsToCreateVolumeAdditions
Information about the users to whom you want to give permissions for the resource.
permissionsToCreateVolumeRemovals List<SnapshotAttributesPermissionsToCreateVolumeRemoval>
Information about the users from whom you want to remove permissions for the resource.
requestId String
snapshotAttributesId String
snapshotId String
The ID of the snapshot.
accountId string
The account ID of the owner of the snapshot.
permissionsToCreateVolumeAdditions SnapshotAttributesPermissionsToCreateVolumeAdditions
Information about the users to whom you want to give permissions for the resource.
permissionsToCreateVolumeRemovals SnapshotAttributesPermissionsToCreateVolumeRemoval[]
Information about the users from whom you want to remove permissions for the resource.
requestId string
snapshotAttributesId string
snapshotId string
The ID of the snapshot.
account_id str
The account ID of the owner of the snapshot.
permissions_to_create_volume_additions SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs
Information about the users to whom you want to give permissions for the resource.
permissions_to_create_volume_removals Sequence[SnapshotAttributesPermissionsToCreateVolumeRemovalArgs]
Information about the users from whom you want to remove permissions for the resource.
request_id str
snapshot_attributes_id str
snapshot_id str
The ID of the snapshot.
accountId String
The account ID of the owner of the snapshot.
permissionsToCreateVolumeAdditions Property Map
Information about the users to whom you want to give permissions for the resource.
permissionsToCreateVolumeRemovals List<Property Map>
Information about the users from whom you want to remove permissions for the resource.
requestId String
snapshotAttributesId String
snapshotId String
The ID of the snapshot.

Supporting Types

SnapshotAttributesPermissionsToCreateVolumeAdditions
, SnapshotAttributesPermissionsToCreateVolumeAdditionsArgs

AccountIds List<string>
The account ID of one or more users to whom you want to give permissions.
GlobalPermission bool
If true, the resource is public. If false, the resource is private.
AccountIds []string
The account ID of one or more users to whom you want to give permissions.
GlobalPermission bool
If true, the resource is public. If false, the resource is private.
accountIds List<String>
The account ID of one or more users to whom you want to give permissions.
globalPermission Boolean
If true, the resource is public. If false, the resource is private.
accountIds string[]
The account ID of one or more users to whom you want to give permissions.
globalPermission boolean
If true, the resource is public. If false, the resource is private.
account_ids Sequence[str]
The account ID of one or more users to whom you want to give permissions.
global_permission bool
If true, the resource is public. If false, the resource is private.
accountIds List<String>
The account ID of one or more users to whom you want to give permissions.
globalPermission Boolean
If true, the resource is public. If false, the resource is private.

SnapshotAttributesPermissionsToCreateVolumeRemoval
, SnapshotAttributesPermissionsToCreateVolumeRemovalArgs

AccountIds List<string>
The account ID of one or more users from whom you want to remove permissions.
GlobalPermission bool
If true, the resource is public. If false, the resource is private.
AccountIds []string
The account ID of one or more users from whom you want to remove permissions.
GlobalPermission bool
If true, the resource is public. If false, the resource is private.
accountIds List<String>
The account ID of one or more users from whom you want to remove permissions.
globalPermission Boolean
If true, the resource is public. If false, the resource is private.
accountIds string[]
The account ID of one or more users from whom you want to remove permissions.
globalPermission boolean
If true, the resource is public. If false, the resource is private.
account_ids Sequence[str]
The account ID of one or more users from whom you want to remove permissions.
global_permission bool
If true, the resource is public. If false, the resource is private.
accountIds List<String>
The account ID of one or more users from whom you want to remove permissions.
globalPermission Boolean
If true, the resource is public. If false, the resource is private.

Package Details

Repository
outscale outscale/terraform-provider-outscale
License
Notes
This Pulumi package is based on the outscale Terraform Provider.