azure-native.labservices.getGalleryImage
Explore with Pulumi AI
Get gallery image Azure REST API version: 2018-10-15.
Using getGalleryImage
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGalleryImage(args: GetGalleryImageArgs, opts?: InvokeOptions): Promise<GetGalleryImageResult>
function getGalleryImageOutput(args: GetGalleryImageOutputArgs, opts?: InvokeOptions): Output<GetGalleryImageResult>
def get_gallery_image(expand: Optional[str] = None,
gallery_image_name: Optional[str] = None,
lab_account_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGalleryImageResult
def get_gallery_image_output(expand: Optional[pulumi.Input[str]] = None,
gallery_image_name: Optional[pulumi.Input[str]] = None,
lab_account_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGalleryImageResult]
func LookupGalleryImage(ctx *Context, args *LookupGalleryImageArgs, opts ...InvokeOption) (*LookupGalleryImageResult, error)
func LookupGalleryImageOutput(ctx *Context, args *LookupGalleryImageOutputArgs, opts ...InvokeOption) LookupGalleryImageResultOutput
> Note: This function is named LookupGalleryImage
in the Go SDK.
public static class GetGalleryImage
{
public static Task<GetGalleryImageResult> InvokeAsync(GetGalleryImageArgs args, InvokeOptions? opts = null)
public static Output<GetGalleryImageResult> Invoke(GetGalleryImageInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGalleryImageResult> getGalleryImage(GetGalleryImageArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:labservices:getGalleryImage
arguments:
# arguments dictionary
The following arguments are supported:
- Gallery
Image stringName The name of the gallery Image.
- Lab
Account stringName The name of the lab Account.
- Resource
Group stringName The name of the resource group.
- Expand string
Specify the $expand query. Example: 'properties($select=author)'
- Gallery
Image stringName The name of the gallery Image.
- Lab
Account stringName The name of the lab Account.
- Resource
Group stringName The name of the resource group.
- Expand string
Specify the $expand query. Example: 'properties($select=author)'
- gallery
Image StringName The name of the gallery Image.
- lab
Account StringName The name of the lab Account.
- resource
Group StringName The name of the resource group.
- expand String
Specify the $expand query. Example: 'properties($select=author)'
- gallery
Image stringName The name of the gallery Image.
- lab
Account stringName The name of the lab Account.
- resource
Group stringName The name of the resource group.
- expand string
Specify the $expand query. Example: 'properties($select=author)'
- gallery_
image_ strname The name of the gallery Image.
- lab_
account_ strname The name of the lab Account.
- resource_
group_ strname The name of the resource group.
- expand str
Specify the $expand query. Example: 'properties($select=author)'
- gallery
Image StringName The name of the gallery Image.
- lab
Account StringName The name of the lab Account.
- resource
Group StringName The name of the resource group.
- expand String
Specify the $expand query. Example: 'properties($select=author)'
getGalleryImage Result
The following output properties are available:
- string
The author of the gallery image.
- Created
Date string The creation date of the gallery image.
- Description string
The description of the gallery image.
- Icon string
The icon of the gallery image.
- Id string
The identifier of the resource.
- Image
Reference Pulumi.Azure Native. Lab Services. Outputs. Gallery Image Reference Response The image reference of the gallery image.
- Latest
Operation Pulumi.Result Azure Native. Lab Services. Outputs. Latest Operation Result Response The details of the latest operation. ex: status, error
- Name string
The name of the resource.
- Plan
Id string The third party plan that applies to this image
- Type string
The type of the resource.
- Is
Enabled bool Indicates whether this gallery image is enabled.
- Is
Override bool Indicates whether this gallery has been overridden for this lab account
- bool
Indicates if the plan has been authorized for programmatic deployment.
- Location string
The location of the resource.
- Provisioning
State string The provisioning status of the resource.
- Dictionary<string, string>
The tags of the resource.
- Unique
Identifier string The unique immutable identifier of a resource (Guid).
- string
The author of the gallery image.
- Created
Date string The creation date of the gallery image.
- Description string
The description of the gallery image.
- Icon string
The icon of the gallery image.
- Id string
The identifier of the resource.
- Image
Reference GalleryImage Reference Response The image reference of the gallery image.
- Latest
Operation LatestResult Operation Result Response The details of the latest operation. ex: status, error
- Name string
The name of the resource.
- Plan
Id string The third party plan that applies to this image
- Type string
The type of the resource.
- Is
Enabled bool Indicates whether this gallery image is enabled.
- Is
Override bool Indicates whether this gallery has been overridden for this lab account
- bool
Indicates if the plan has been authorized for programmatic deployment.
- Location string
The location of the resource.
- Provisioning
State string The provisioning status of the resource.
- map[string]string
The tags of the resource.
- Unique
Identifier string The unique immutable identifier of a resource (Guid).
- String
The author of the gallery image.
- created
Date String The creation date of the gallery image.
- description String
The description of the gallery image.
- icon String
The icon of the gallery image.
- id String
The identifier of the resource.
- image
Reference GalleryImage Reference Response The image reference of the gallery image.
- latest
Operation LatestResult Operation Result Response The details of the latest operation. ex: status, error
- name String
The name of the resource.
- plan
Id String The third party plan that applies to this image
- type String
The type of the resource.
- is
Enabled Boolean Indicates whether this gallery image is enabled.
- is
Override Boolean Indicates whether this gallery has been overridden for this lab account
- Boolean
Indicates if the plan has been authorized for programmatic deployment.
- location String
The location of the resource.
- provisioning
State String The provisioning status of the resource.
- Map<String,String>
The tags of the resource.
- unique
Identifier String The unique immutable identifier of a resource (Guid).
- string
The author of the gallery image.
- created
Date string The creation date of the gallery image.
- description string
The description of the gallery image.
- icon string
The icon of the gallery image.
- id string
The identifier of the resource.
- image
Reference GalleryImage Reference Response The image reference of the gallery image.
- latest
Operation LatestResult Operation Result Response The details of the latest operation. ex: status, error
- name string
The name of the resource.
- plan
Id string The third party plan that applies to this image
- type string
The type of the resource.
- is
Enabled boolean Indicates whether this gallery image is enabled.
- is
Override boolean Indicates whether this gallery has been overridden for this lab account
- boolean
Indicates if the plan has been authorized for programmatic deployment.
- location string
The location of the resource.
- provisioning
State string The provisioning status of the resource.
- {[key: string]: string}
The tags of the resource.
- unique
Identifier string The unique immutable identifier of a resource (Guid).
- str
The author of the gallery image.
- created_
date str The creation date of the gallery image.
- description str
The description of the gallery image.
- icon str
The icon of the gallery image.
- id str
The identifier of the resource.
- image_
reference GalleryImage Reference Response The image reference of the gallery image.
- latest_
operation_ Latestresult Operation Result Response The details of the latest operation. ex: status, error
- name str
The name of the resource.
- plan_
id str The third party plan that applies to this image
- type str
The type of the resource.
- is_
enabled bool Indicates whether this gallery image is enabled.
- is_
override bool Indicates whether this gallery has been overridden for this lab account
- bool
Indicates if the plan has been authorized for programmatic deployment.
- location str
The location of the resource.
- provisioning_
state str The provisioning status of the resource.
- Mapping[str, str]
The tags of the resource.
- unique_
identifier str The unique immutable identifier of a resource (Guid).
- String
The author of the gallery image.
- created
Date String The creation date of the gallery image.
- description String
The description of the gallery image.
- icon String
The icon of the gallery image.
- id String
The identifier of the resource.
- image
Reference Property Map The image reference of the gallery image.
- latest
Operation Property MapResult The details of the latest operation. ex: status, error
- name String
The name of the resource.
- plan
Id String The third party plan that applies to this image
- type String
The type of the resource.
- is
Enabled Boolean Indicates whether this gallery image is enabled.
- is
Override Boolean Indicates whether this gallery has been overridden for this lab account
- Boolean
Indicates if the plan has been authorized for programmatic deployment.
- location String
The location of the resource.
- provisioning
State String The provisioning status of the resource.
- Map<String>
The tags of the resource.
- unique
Identifier String The unique immutable identifier of a resource (Guid).
Supporting Types
GalleryImageReferenceResponse
LatestOperationResultResponse
- Error
Code string Error code on failure.
- Error
Message string The error message.
- Http
Method string The HttpMethod - PUT/POST/DELETE for the operation.
- Operation
Url string The URL to use to check long-running operation status
- Request
Uri string Request URI of the operation.
- Status string
The current status of the operation.
- Error
Code string Error code on failure.
- Error
Message string The error message.
- Http
Method string The HttpMethod - PUT/POST/DELETE for the operation.
- Operation
Url string The URL to use to check long-running operation status
- Request
Uri string Request URI of the operation.
- Status string
The current status of the operation.
- error
Code String Error code on failure.
- error
Message String The error message.
- http
Method String The HttpMethod - PUT/POST/DELETE for the operation.
- operation
Url String The URL to use to check long-running operation status
- request
Uri String Request URI of the operation.
- status String
The current status of the operation.
- error
Code string Error code on failure.
- error
Message string The error message.
- http
Method string The HttpMethod - PUT/POST/DELETE for the operation.
- operation
Url string The URL to use to check long-running operation status
- request
Uri string Request URI of the operation.
- status string
The current status of the operation.
- error_
code str Error code on failure.
- error_
message str The error message.
- http_
method str The HttpMethod - PUT/POST/DELETE for the operation.
- operation_
url str The URL to use to check long-running operation status
- request_
uri str Request URI of the operation.
- status str
The current status of the operation.
- error
Code String Error code on failure.
- error
Message String The error message.
- http
Method String The HttpMethod - PUT/POST/DELETE for the operation.
- operation
Url String The URL to use to check long-running operation status
- request
Uri String Request URI of the operation.
- status String
The current status of the operation.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0