SharedImageVersion
Manages a Version of a Shared Image within a Shared Image Gallery.
Create a SharedImageVersion Resource
new SharedImageVersion(name: string, args: SharedImageVersionArgs, opts?: CustomResourceOptions);def SharedImageVersion(resource_name, opts=None, exclude_from_latest=None, gallery_name=None, image_name=None, location=None, managed_image_id=None, name=None, resource_group_name=None, tags=None, target_regions=None, __props__=None);func NewSharedImageVersion(ctx *Context, name string, args SharedImageVersionArgs, opts ...ResourceOption) (*SharedImageVersion, error)public SharedImageVersion(string name, SharedImageVersionArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args SharedImageVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SharedImageVersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SharedImageVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
SharedImageVersion Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The SharedImageVersion resource accepts the following input properties:
- Gallery
Name string The name of the Shared Image Gallery in which the Shared Image exists. Changing this forces a new resource to be created.
- Image
Name string The name of the Shared Image within the Shared Image Gallery in which this Version should be created. Changing this forces a new resource to be created.
- Managed
Image stringId The ID of the Managed Image which should be used for this Shared Image Version. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the Resource Group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- Target
Regions List<SharedImage Version Target Region Args> One or more
target_regionblocks as documented below.- Exclude
From boolLatest Should this Image Version be excluded from the
latestfilter? If set totruethis Image Version won’t be returned for thelatestversion. Defaults tofalse.- Location string
The Azure Region in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- Name string
The version number for this Image Version, such as
1.0.0. Changing this forces a new resource to be created.- Dictionary<string, string>
A collection of tags which should be applied to this resource.
- Gallery
Name string The name of the Shared Image Gallery in which the Shared Image exists. Changing this forces a new resource to be created.
- Image
Name string The name of the Shared Image within the Shared Image Gallery in which this Version should be created. Changing this forces a new resource to be created.
- Managed
Image stringId The ID of the Managed Image which should be used for this Shared Image Version. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the Resource Group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- Target
Regions []SharedImage Version Target Region One or more
target_regionblocks as documented below.- Exclude
From boolLatest Should this Image Version be excluded from the
latestfilter? If set totruethis Image Version won’t be returned for thelatestversion. Defaults tofalse.- Location string
The Azure Region in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- Name string
The version number for this Image Version, such as
1.0.0. Changing this forces a new resource to be created.- map[string]string
A collection of tags which should be applied to this resource.
- gallery
Name string The name of the Shared Image Gallery in which the Shared Image exists. Changing this forces a new resource to be created.
- image
Name string The name of the Shared Image within the Shared Image Gallery in which this Version should be created. Changing this forces a new resource to be created.
- managed
Image stringId The ID of the Managed Image which should be used for this Shared Image Version. Changing this forces a new resource to be created.
- resource
Group stringName The name of the Resource Group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- target
Regions SharedImage Version Target Region[] One or more
target_regionblocks as documented below.- exclude
From booleanLatest Should this Image Version be excluded from the
latestfilter? If set totruethis Image Version won’t be returned for thelatestversion. Defaults tofalse.- location string
The Azure Region in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- name string
The version number for this Image Version, such as
1.0.0. Changing this forces a new resource to be created.- {[key: string]: string}
A collection of tags which should be applied to this resource.
- gallery_
name str The name of the Shared Image Gallery in which the Shared Image exists. Changing this forces a new resource to be created.
- image_
name str The name of the Shared Image within the Shared Image Gallery in which this Version should be created. Changing this forces a new resource to be created.
- managed_
image_ strid The ID of the Managed Image which should be used for this Shared Image Version. Changing this forces a new resource to be created.
- resource_
group_ strname The name of the Resource Group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- target_
regions List[SharedImage Version Target Region] One or more
target_regionblocks as documented below.- exclude_
from_ boollatest Should this Image Version be excluded from the
latestfilter? If set totruethis Image Version won’t be returned for thelatestversion. Defaults tofalse.- location str
The Azure Region in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- name str
The version number for this Image Version, such as
1.0.0. Changing this forces a new resource to be created.- Dict[str, str]
A collection of tags which should be applied to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the SharedImageVersion resource produces the following output properties:
Look up an Existing SharedImageVersion Resource
Get an existing SharedImageVersion 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?: SharedImageVersionState, opts?: CustomResourceOptions): SharedImageVersionstatic get(resource_name, id, opts=None, exclude_from_latest=None, gallery_name=None, image_name=None, location=None, managed_image_id=None, name=None, resource_group_name=None, tags=None, target_regions=None, __props__=None);func GetSharedImageVersion(ctx *Context, name string, id IDInput, state *SharedImageVersionState, opts ...ResourceOption) (*SharedImageVersion, error)public static SharedImageVersion Get(string name, Input<string> id, SharedImageVersionState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Exclude
From boolLatest Should this Image Version be excluded from the
latestfilter? If set totruethis Image Version won’t be returned for thelatestversion. Defaults tofalse.- Gallery
Name string The name of the Shared Image Gallery in which the Shared Image exists. Changing this forces a new resource to be created.
- Image
Name string The name of the Shared Image within the Shared Image Gallery in which this Version should be created. Changing this forces a new resource to be created.
- Location string
The Azure Region in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- Managed
Image stringId The ID of the Managed Image which should be used for this Shared Image Version. Changing this forces a new resource to be created.
- Name string
The version number for this Image Version, such as
1.0.0. Changing this forces a new resource to be created.- Resource
Group stringName The name of the Resource Group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- Dictionary<string, string>
A collection of tags which should be applied to this resource.
- Target
Regions List<SharedImage Version Target Region Args> One or more
target_regionblocks as documented below.
- Exclude
From boolLatest Should this Image Version be excluded from the
latestfilter? If set totruethis Image Version won’t be returned for thelatestversion. Defaults tofalse.- Gallery
Name string The name of the Shared Image Gallery in which the Shared Image exists. Changing this forces a new resource to be created.
- Image
Name string The name of the Shared Image within the Shared Image Gallery in which this Version should be created. Changing this forces a new resource to be created.
- Location string
The Azure Region in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- Managed
Image stringId The ID of the Managed Image which should be used for this Shared Image Version. Changing this forces a new resource to be created.
- Name string
The version number for this Image Version, such as
1.0.0. Changing this forces a new resource to be created.- Resource
Group stringName The name of the Resource Group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- map[string]string
A collection of tags which should be applied to this resource.
- Target
Regions []SharedImage Version Target Region One or more
target_regionblocks as documented below.
- exclude
From booleanLatest Should this Image Version be excluded from the
latestfilter? If set totruethis Image Version won’t be returned for thelatestversion. Defaults tofalse.- gallery
Name string The name of the Shared Image Gallery in which the Shared Image exists. Changing this forces a new resource to be created.
- image
Name string The name of the Shared Image within the Shared Image Gallery in which this Version should be created. Changing this forces a new resource to be created.
- location string
The Azure Region in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- managed
Image stringId The ID of the Managed Image which should be used for this Shared Image Version. Changing this forces a new resource to be created.
- name string
The version number for this Image Version, such as
1.0.0. Changing this forces a new resource to be created.- resource
Group stringName The name of the Resource Group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- {[key: string]: string}
A collection of tags which should be applied to this resource.
- target
Regions SharedImage Version Target Region[] One or more
target_regionblocks as documented below.
- exclude_
from_ boollatest Should this Image Version be excluded from the
latestfilter? If set totruethis Image Version won’t be returned for thelatestversion. Defaults tofalse.- gallery_
name str The name of the Shared Image Gallery in which the Shared Image exists. Changing this forces a new resource to be created.
- image_
name str The name of the Shared Image within the Shared Image Gallery in which this Version should be created. Changing this forces a new resource to be created.
- location str
The Azure Region in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- managed_
image_ strid The ID of the Managed Image which should be used for this Shared Image Version. Changing this forces a new resource to be created.
- name str
The version number for this Image Version, such as
1.0.0. Changing this forces a new resource to be created.- resource_
group_ strname The name of the Resource Group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- Dict[str, str]
A collection of tags which should be applied to this resource.
- target_
regions List[SharedImage Version Target Region] One or more
target_regionblocks as documented below.
Supporting Types
SharedImageVersionTargetRegion
- Name string
The Azure Region in which this Image Version should exist.
- Regional
Replica intCount The number of replicas of the Image Version to be created per region.
- Storage
Account stringType The storage account type for the image version. Possible values are
Standard_LRSandStandard_ZRS. Defaults toStandard_LRS. You can store all of your image version replicas in Zone Redundant Storage by specifyingStandard_ZRS.
- Name string
The Azure Region in which this Image Version should exist.
- Regional
Replica intCount The number of replicas of the Image Version to be created per region.
- Storage
Account stringType The storage account type for the image version. Possible values are
Standard_LRSandStandard_ZRS. Defaults toStandard_LRS. You can store all of your image version replicas in Zone Redundant Storage by specifyingStandard_ZRS.
- name string
The Azure Region in which this Image Version should exist.
- regional
Replica numberCount The number of replicas of the Image Version to be created per region.
- storage
Account stringType The storage account type for the image version. Possible values are
Standard_LRSandStandard_ZRS. Defaults toStandard_LRS. You can store all of your image version replicas in Zone Redundant Storage by specifyingStandard_ZRS.
- name str
The Azure Region in which this Image Version should exist.
- regional
Replica floatCount The number of replicas of the Image Version to be created per region.
- storage_
account_ strtype The storage account type for the image version. Possible values are
Standard_LRSandStandard_ZRS. Defaults toStandard_LRS. You can store all of your image version replicas in Zone Redundant Storage by specifyingStandard_ZRS.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.