opentelekomcloud.ImagesImageAccessAcceptV2
Explore with Pulumi AI
Create ImagesImageAccessAcceptV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ImagesImageAccessAcceptV2(name: string, args: ImagesImageAccessAcceptV2Args, opts?: CustomResourceOptions);
@overload
def ImagesImageAccessAcceptV2(resource_name: str,
args: ImagesImageAccessAcceptV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def ImagesImageAccessAcceptV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
image_id: Optional[str] = None,
member_id: Optional[str] = None,
status: Optional[str] = None,
images_image_access_accept_v2_id: Optional[str] = None)
func NewImagesImageAccessAcceptV2(ctx *Context, name string, args ImagesImageAccessAcceptV2Args, opts ...ResourceOption) (*ImagesImageAccessAcceptV2, error)
public ImagesImageAccessAcceptV2(string name, ImagesImageAccessAcceptV2Args args, CustomResourceOptions? opts = null)
public ImagesImageAccessAcceptV2(String name, ImagesImageAccessAcceptV2Args args)
public ImagesImageAccessAcceptV2(String name, ImagesImageAccessAcceptV2Args args, CustomResourceOptions options)
type: opentelekomcloud:ImagesImageAccessAcceptV2
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 ImagesImageAccessAcceptV2Args
- 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 ImagesImageAccessAcceptV2Args
- 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 ImagesImageAccessAcceptV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ImagesImageAccessAcceptV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ImagesImageAccessAcceptV2Args
- 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 imagesImageAccessAcceptV2Resource = new Opentelekomcloud.ImagesImageAccessAcceptV2("imagesImageAccessAcceptV2Resource", new()
{
ImageId = "string",
MemberId = "string",
Status = "string",
ImagesImageAccessAcceptV2Id = "string",
});
example, err := opentelekomcloud.NewImagesImageAccessAcceptV2(ctx, "imagesImageAccessAcceptV2Resource", &opentelekomcloud.ImagesImageAccessAcceptV2Args{
ImageId: pulumi.String("string"),
MemberId: pulumi.String("string"),
Status: pulumi.String("string"),
ImagesImageAccessAcceptV2Id: pulumi.String("string"),
})
var imagesImageAccessAcceptV2Resource = new ImagesImageAccessAcceptV2("imagesImageAccessAcceptV2Resource", ImagesImageAccessAcceptV2Args.builder()
.imageId("string")
.memberId("string")
.status("string")
.imagesImageAccessAcceptV2Id("string")
.build());
images_image_access_accept_v2_resource = opentelekomcloud.ImagesImageAccessAcceptV2("imagesImageAccessAcceptV2Resource",
image_id="string",
member_id="string",
status="string",
images_image_access_accept_v2_id="string")
const imagesImageAccessAcceptV2Resource = new opentelekomcloud.ImagesImageAccessAcceptV2("imagesImageAccessAcceptV2Resource", {
imageId: "string",
memberId: "string",
status: "string",
imagesImageAccessAcceptV2Id: "string",
});
type: opentelekomcloud:ImagesImageAccessAcceptV2
properties:
imageId: string
imagesImageAccessAcceptV2Id: string
memberId: string
status: string
ImagesImageAccessAcceptV2 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 ImagesImageAccessAcceptV2 resource accepts the following input properties:
- Image
Id string - Member
Id string - Status string
- Images
Image stringAccess Accept V2Id
- Image
Id string - Member
Id string - Status string
- Images
Image stringAccess Accept V2Id
- image
Id String - member
Id String - status String
- images
Image StringAccess Accept V2Id
- image
Id string - member
Id string - status string
- images
Image stringAccess Accept V2Id
- image_
id str - member_
id str - status str
- images_
image_ straccess_ accept_ v2_ id
- image
Id String - member
Id String - status String
- images
Image StringAccess Accept V2Id
Outputs
All input properties are implicitly available as output properties. Additionally, the ImagesImageAccessAcceptV2 resource produces the following output properties:
- created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- schema str
- updated_
at str
Look up Existing ImagesImageAccessAcceptV2 Resource
Get an existing ImagesImageAccessAcceptV2 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?: ImagesImageAccessAcceptV2State, opts?: CustomResourceOptions): ImagesImageAccessAcceptV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
image_id: Optional[str] = None,
images_image_access_accept_v2_id: Optional[str] = None,
member_id: Optional[str] = None,
schema: Optional[str] = None,
status: Optional[str] = None,
updated_at: Optional[str] = None) -> ImagesImageAccessAcceptV2
func GetImagesImageAccessAcceptV2(ctx *Context, name string, id IDInput, state *ImagesImageAccessAcceptV2State, opts ...ResourceOption) (*ImagesImageAccessAcceptV2, error)
public static ImagesImageAccessAcceptV2 Get(string name, Input<string> id, ImagesImageAccessAcceptV2State? state, CustomResourceOptions? opts = null)
public static ImagesImageAccessAcceptV2 get(String name, Output<String> id, ImagesImageAccessAcceptV2State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:ImagesImageAccessAcceptV2 get: id: ${id}
- 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.
- created_
at str - image_
id str - images_
image_ straccess_ accept_ v2_ id - member_
id str - schema str
- status str
- updated_
at str
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.