1. Packages
  2. Azure Native v2
  3. API Docs
  4. compute
  5. getGalleryInVMAccessControlProfile
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.compute.getGalleryInVMAccessControlProfile

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Retrieves information about a gallery inVMAccessControlProfile. Azure REST API version: 2024-03-03.

Using getGalleryInVMAccessControlProfile

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 getGalleryInVMAccessControlProfile(args: GetGalleryInVMAccessControlProfileArgs, opts?: InvokeOptions): Promise<GetGalleryInVMAccessControlProfileResult>
function getGalleryInVMAccessControlProfileOutput(args: GetGalleryInVMAccessControlProfileOutputArgs, opts?: InvokeOptions): Output<GetGalleryInVMAccessControlProfileResult>
Copy
def get_gallery_in_vm_access_control_profile(gallery_name: Optional[str] = None,
                                             in_vm_access_control_profile_name: Optional[str] = None,
                                             resource_group_name: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetGalleryInVMAccessControlProfileResult
def get_gallery_in_vm_access_control_profile_output(gallery_name: Optional[pulumi.Input[str]] = None,
                                             in_vm_access_control_profile_name: Optional[pulumi.Input[str]] = None,
                                             resource_group_name: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetGalleryInVMAccessControlProfileResult]
Copy
func LookupGalleryInVMAccessControlProfile(ctx *Context, args *LookupGalleryInVMAccessControlProfileArgs, opts ...InvokeOption) (*LookupGalleryInVMAccessControlProfileResult, error)
func LookupGalleryInVMAccessControlProfileOutput(ctx *Context, args *LookupGalleryInVMAccessControlProfileOutputArgs, opts ...InvokeOption) LookupGalleryInVMAccessControlProfileResultOutput
Copy

> Note: This function is named LookupGalleryInVMAccessControlProfile in the Go SDK.

public static class GetGalleryInVMAccessControlProfile 
{
    public static Task<GetGalleryInVMAccessControlProfileResult> InvokeAsync(GetGalleryInVMAccessControlProfileArgs args, InvokeOptions? opts = null)
    public static Output<GetGalleryInVMAccessControlProfileResult> Invoke(GetGalleryInVMAccessControlProfileInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetGalleryInVMAccessControlProfileResult> getGalleryInVMAccessControlProfile(GetGalleryInVMAccessControlProfileArgs args, InvokeOptions options)
public static Output<GetGalleryInVMAccessControlProfileResult> getGalleryInVMAccessControlProfile(GetGalleryInVMAccessControlProfileArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:compute:getGalleryInVMAccessControlProfile
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

GalleryName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be retrieved.
InVMAccessControlProfileName
This property is required.
Changes to this property will trigger replacement.
string
The name of the gallery inVMAccessControlProfile to be retrieved.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
GalleryName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be retrieved.
InVMAccessControlProfileName
This property is required.
Changes to this property will trigger replacement.
string
The name of the gallery inVMAccessControlProfile to be retrieved.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
galleryName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be retrieved.
inVMAccessControlProfileName
This property is required.
Changes to this property will trigger replacement.
String
The name of the gallery inVMAccessControlProfile to be retrieved.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
galleryName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be retrieved.
inVMAccessControlProfileName
This property is required.
Changes to this property will trigger replacement.
string
The name of the gallery inVMAccessControlProfile to be retrieved.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
gallery_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be retrieved.
in_vm_access_control_profile_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the gallery inVMAccessControlProfile to be retrieved.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
galleryName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be retrieved.
inVMAccessControlProfileName
This property is required.
Changes to this property will trigger replacement.
String
The name of the gallery inVMAccessControlProfile to be retrieved.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.

getGalleryInVMAccessControlProfile Result

The following output properties are available:

Id string
Resource Id
Location string
Resource location
Name string
Resource name
Properties Pulumi.AzureNative.Compute.Outputs.GalleryInVMAccessControlProfilePropertiesResponse
Describes the properties of a gallery inVMAccessControlProfile.
Type string
Resource type
Tags Dictionary<string, string>
Resource tags
Id string
Resource Id
Location string
Resource location
Name string
Resource name
Properties GalleryInVMAccessControlProfilePropertiesResponse
Describes the properties of a gallery inVMAccessControlProfile.
Type string
Resource type
Tags map[string]string
Resource tags
id String
Resource Id
location String
Resource location
name String
Resource name
properties GalleryInVMAccessControlProfilePropertiesResponse
Describes the properties of a gallery inVMAccessControlProfile.
type String
Resource type
tags Map<String,String>
Resource tags
id string
Resource Id
location string
Resource location
name string
Resource name
properties GalleryInVMAccessControlProfilePropertiesResponse
Describes the properties of a gallery inVMAccessControlProfile.
type string
Resource type
tags {[key: string]: string}
Resource tags
id str
Resource Id
location str
Resource location
name str
Resource name
properties GalleryInVMAccessControlProfilePropertiesResponse
Describes the properties of a gallery inVMAccessControlProfile.
type str
Resource type
tags Mapping[str, str]
Resource tags
id String
Resource Id
location String
Resource location
name String
Resource name
properties Property Map
Describes the properties of a gallery inVMAccessControlProfile.
type String
Resource type
tags Map<String>
Resource tags

Supporting Types

GalleryInVMAccessControlProfilePropertiesResponse

ApplicableHostEndpoint This property is required. string
This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'
OsType This property is required. string
This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'
ProvisioningState This property is required. string
The provisioning state, which only appears in the response.
Description string
The description of this gallery inVMAccessControlProfile resources. This property is updatable.
ApplicableHostEndpoint This property is required. string
This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'
OsType This property is required. string
This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'
ProvisioningState This property is required. string
The provisioning state, which only appears in the response.
Description string
The description of this gallery inVMAccessControlProfile resources. This property is updatable.
applicableHostEndpoint This property is required. String
This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'
osType This property is required. String
This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'
provisioningState This property is required. String
The provisioning state, which only appears in the response.
description String
The description of this gallery inVMAccessControlProfile resources. This property is updatable.
applicableHostEndpoint This property is required. string
This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'
osType This property is required. string
This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'
provisioningState This property is required. string
The provisioning state, which only appears in the response.
description string
The description of this gallery inVMAccessControlProfile resources. This property is updatable.
applicable_host_endpoint This property is required. str
This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'
os_type This property is required. str
This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'
provisioning_state This property is required. str
The provisioning state, which only appears in the response.
description str
The description of this gallery inVMAccessControlProfile resources. This property is updatable.
applicableHostEndpoint This property is required. String
This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'
osType This property is required. String
This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'
provisioningState This property is required. String
The provisioning state, which only appears in the response.
description String
The description of this gallery inVMAccessControlProfile resources. This property is updatable.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi