Show / Hide Table of Contents

Class ImageAccessAccept

Manages memberships status for the shared OpenStack Glance V2 Image within the destination project, which has a member proposal.

Example Usage

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var rancheros = Output.Create(OpenStack.Images.GetImage.InvokeAsync(new OpenStack.Images.GetImageArgs
    {
        MemberStatus = "all",
        Name = "RancherOS",
        Visibility = "shared",
    }));
    var rancherosMember = new OpenStack.Images.ImageAccessAccept("rancherosMember", new OpenStack.Images.ImageAccessAcceptArgs
    {
        ImageId = rancheros.Apply(rancheros => rancheros.Id),
        Status = "accepted",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
ImageAccessAccept
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.OpenStack.Images
Assembly: Pulumi.OpenStack.dll
Syntax
public class ImageAccessAccept : CustomResource

Constructors

View Source

ImageAccessAccept(String, ImageAccessAcceptArgs, CustomResourceOptions)

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

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

The unique name of the resource

ImageAccessAcceptArgs 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

CreatedAt

The date the image membership was created.

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

ImageId

The proposed image ID.

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

MemberId

The member ID, e.g. the target project ID. Optional for admin accounts. Defaults to the current scope project ID.

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

Region

The region in which to obtain the V2 Glance client. A Glance client is needed to manage Image memberships. If omitted, the region argument of the provider is used. Changing this creates a new membership.

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

Schema

The membership schema.

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

Status

The membership proposal status. Can either be accepted, rejected or pending.

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

UpdatedAt

The date the image membership was last updated.

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

Methods

View Source

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

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

Declaration
public static ImageAccessAccept Get(string name, Input<string> id, ImageAccessAcceptState 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.

ImageAccessAcceptState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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