Azure Native v1.102.0, May 2 23
Azure Native v1.102.0, May 2 23
azure-native.compute.getGalleryImage
Explore with Pulumi AI
Retrieves information about a gallery image definition. API Version: 2020-09-30.
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(gallery_image_name: Optional[str] = None,
gallery_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGalleryImageResult
def get_gallery_image_output(gallery_image_name: Optional[pulumi.Input[str]] = None,
gallery_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:compute:getGalleryImage
arguments:
# arguments dictionary
The following arguments are supported:
- Gallery
Image stringName The name of the gallery image definition to be retrieved.
- Gallery
Name string The name of the Shared Image Gallery from which the Image Definitions are to be retrieved.
- Resource
Group stringName The name of the resource group.
- Gallery
Image stringName The name of the gallery image definition to be retrieved.
- Gallery
Name string The name of the Shared Image Gallery from which the Image Definitions are to be retrieved.
- Resource
Group stringName The name of the resource group.
- gallery
Image StringName The name of the gallery image definition to be retrieved.
- gallery
Name String The name of the Shared Image Gallery from which the Image Definitions are to be retrieved.
- resource
Group StringName The name of the resource group.
- gallery
Image stringName The name of the gallery image definition to be retrieved.
- gallery
Name string The name of the Shared Image Gallery from which the Image Definitions are to be retrieved.
- resource
Group stringName The name of the resource group.
- gallery_
image_ strname The name of the gallery image definition to be retrieved.
- gallery_
name str The name of the Shared Image Gallery from which the Image Definitions are to be retrieved.
- resource_
group_ strname The name of the resource group.
- gallery
Image StringName The name of the gallery image definition to be retrieved.
- gallery
Name String The name of the Shared Image Gallery from which the Image Definitions are to be retrieved.
- resource
Group StringName The name of the resource group.
getGalleryImage Result
The following output properties are available:
- Id string
Resource Id
- Identifier
Pulumi.
Azure Native. Compute. Outputs. Gallery Image Identifier Response This is the gallery image definition identifier.
- Location string
Resource location
- Name string
Resource name
- Os
State string This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.
- Os
Type string This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: Windows Linux
- Provisioning
State string The provisioning state, which only appears in the response.
- Type string
Resource type
- Description string
The description of this gallery image definition resource. This property is updatable.
- Disallowed
Pulumi.
Azure Native. Compute. Outputs. Disallowed Response Describes the disallowed disk types.
- End
Of stringLife Date The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
- Eula string
The Eula agreement for the gallery image definition.
- Features
List<Pulumi.
Azure Native. Compute. Outputs. Gallery Image Feature Response> A list of gallery image features.
- Hyper
VGeneration string The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- Privacy
Statement stringUri The privacy statement uri.
- Purchase
Plan Pulumi.Azure Native. Compute. Outputs. Image Purchase Plan Response Describes the gallery image definition purchase plan. This is used by marketplace images.
- Recommended
Pulumi.
Azure Native. Compute. Outputs. Recommended Machine Configuration Response The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
- Release
Note stringUri The release note uri.
- Dictionary<string, string>
Resource tags
- Id string
Resource Id
- Identifier
Gallery
Image Identifier Response This is the gallery image definition identifier.
- Location string
Resource location
- Name string
Resource name
- Os
State string This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.
- Os
Type string This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: Windows Linux
- Provisioning
State string The provisioning state, which only appears in the response.
- Type string
Resource type
- Description string
The description of this gallery image definition resource. This property is updatable.
- Disallowed
Disallowed
Response Describes the disallowed disk types.
- End
Of stringLife Date The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
- Eula string
The Eula agreement for the gallery image definition.
- Features
[]Gallery
Image Feature Response A list of gallery image features.
- Hyper
VGeneration string The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- Privacy
Statement stringUri The privacy statement uri.
- Purchase
Plan ImagePurchase Plan Response Describes the gallery image definition purchase plan. This is used by marketplace images.
- Recommended
Recommended
Machine Configuration Response The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
- Release
Note stringUri The release note uri.
- map[string]string
Resource tags
- id String
Resource Id
- identifier
Gallery
Image Identifier Response This is the gallery image definition identifier.
- location String
Resource location
- name String
Resource name
- os
State String This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.
- os
Type String This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: Windows Linux
- provisioning
State String The provisioning state, which only appears in the response.
- type String
Resource type
- description String
The description of this gallery image definition resource. This property is updatable.
- disallowed
Disallowed
Response Describes the disallowed disk types.
- end
Of StringLife Date The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
- eula String
The Eula agreement for the gallery image definition.
- features
List<Gallery
Image Feature Response> A list of gallery image features.
- hyper
VGeneration String The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- privacy
Statement StringUri The privacy statement uri.
- purchase
Plan ImagePurchase Plan Response Describes the gallery image definition purchase plan. This is used by marketplace images.
- recommended
Recommended
Machine Configuration Response The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
- release
Note StringUri The release note uri.
- Map<String,String>
Resource tags
- id string
Resource Id
- identifier
Gallery
Image Identifier Response This is the gallery image definition identifier.
- location string
Resource location
- name string
Resource name
- os
State string This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.
- os
Type string This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: Windows Linux
- provisioning
State string The provisioning state, which only appears in the response.
- type string
Resource type
- description string
The description of this gallery image definition resource. This property is updatable.
- disallowed
Disallowed
Response Describes the disallowed disk types.
- end
Of stringLife Date The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
- eula string
The Eula agreement for the gallery image definition.
- features
Gallery
Image Feature Response[] A list of gallery image features.
- hyper
VGeneration string The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- privacy
Statement stringUri The privacy statement uri.
- purchase
Plan ImagePurchase Plan Response Describes the gallery image definition purchase plan. This is used by marketplace images.
- recommended
Recommended
Machine Configuration Response The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
- release
Note stringUri The release note uri.
- {[key: string]: string}
Resource tags
- id str
Resource Id
- identifier
Gallery
Image Identifier Response This is the gallery image definition identifier.
- location str
Resource location
- name str
Resource name
- os_
state str This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.
- os_
type str This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: Windows Linux
- provisioning_
state str The provisioning state, which only appears in the response.
- type str
Resource type
- description str
The description of this gallery image definition resource. This property is updatable.
- disallowed
Disallowed
Response Describes the disallowed disk types.
- end_
of_ strlife_ date The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
- eula str
The Eula agreement for the gallery image definition.
- features
Sequence[Gallery
Image Feature Response] A list of gallery image features.
- hyper_
v_ strgeneration The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- privacy_
statement_ struri The privacy statement uri.
- purchase_
plan ImagePurchase Plan Response Describes the gallery image definition purchase plan. This is used by marketplace images.
- recommended
Recommended
Machine Configuration Response The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
- release_
note_ struri The release note uri.
- Mapping[str, str]
Resource tags
- id String
Resource Id
- identifier Property Map
This is the gallery image definition identifier.
- location String
Resource location
- name String
Resource name
- os
State String This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.
- os
Type String This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: Windows Linux
- provisioning
State String The provisioning state, which only appears in the response.
- type String
Resource type
- description String
The description of this gallery image definition resource. This property is updatable.
- disallowed Property Map
Describes the disallowed disk types.
- end
Of StringLife Date The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
- eula String
The Eula agreement for the gallery image definition.
- features List<Property Map>
A list of gallery image features.
- hyper
VGeneration String The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- privacy
Statement StringUri The privacy statement uri.
- purchase
Plan Property Map Describes the gallery image definition purchase plan. This is used by marketplace images.
- recommended Property Map
The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
- release
Note StringUri The release note uri.
- Map<String>
Resource tags
Supporting Types
DisallowedResponse
- Disk
Types List<string> A list of disk types.
- Disk
Types []string A list of disk types.
- disk
Types List<String> A list of disk types.
- disk
Types string[] A list of disk types.
- disk_
types Sequence[str] A list of disk types.
- disk
Types List<String> A list of disk types.
GalleryImageFeatureResponse
GalleryImageIdentifierResponse
ImagePurchasePlanResponse
RecommendedMachineConfigurationResponse
- Memory
Pulumi.
Azure Native. Compute. Inputs. Resource Range Response Describes the resource range.
- VCPUs
Pulumi.
Azure Native. Compute. Inputs. Resource Range Response Describes the resource range.
- Memory
Resource
Range Response Describes the resource range.
- VCPUs
Resource
Range Response Describes the resource range.
- memory
Resource
Range Response Describes the resource range.
- v
CPUs ResourceRange Response Describes the resource range.
- memory
Resource
Range Response Describes the resource range.
- v
CPUs ResourceRange Response Describes the resource range.
- memory
Resource
Range Response Describes the resource range.
- v_
cpus ResourceRange Response Describes the resource range.
- memory Property Map
Describes the resource range.
- v
CPUs Property Map Describes the resource range.
ResourceRangeResponse
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0