We recommend using Azure Native.
Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Use this data source to access information about an existing Disk Encryption Set.
Using getDiskEncryptionSet
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 getDiskEncryptionSet(args: GetDiskEncryptionSetArgs, opts?: InvokeOptions): Promise<GetDiskEncryptionSetResult>
function getDiskEncryptionSetOutput(args: GetDiskEncryptionSetOutputArgs, opts?: InvokeOptions): Output<GetDiskEncryptionSetResult>def get_disk_encryption_set(name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDiskEncryptionSetResult
def get_disk_encryption_set_output(name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDiskEncryptionSetResult]func LookupDiskEncryptionSet(ctx *Context, args *LookupDiskEncryptionSetArgs, opts ...InvokeOption) (*LookupDiskEncryptionSetResult, error)
func LookupDiskEncryptionSetOutput(ctx *Context, args *LookupDiskEncryptionSetOutputArgs, opts ...InvokeOption) LookupDiskEncryptionSetResultOutput> Note: This function is named LookupDiskEncryptionSet in the Go SDK.
public static class GetDiskEncryptionSet
{
public static Task<GetDiskEncryptionSetResult> InvokeAsync(GetDiskEncryptionSetArgs args, InvokeOptions? opts = null)
public static Output<GetDiskEncryptionSetResult> Invoke(GetDiskEncryptionSetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDiskEncryptionSetResult> getDiskEncryptionSet(GetDiskEncryptionSetArgs args, InvokeOptions options)
public static Output<GetDiskEncryptionSetResult> getDiskEncryptionSet(GetDiskEncryptionSetArgs args, InvokeOptions options)
fn::invoke:
function: azure:compute/getDiskEncryptionSet:getDiskEncryptionSet
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- The name of the Disk Encryption Set exists.
- Resource
Group stringName - The name of the Resource Group where the Disk Encryption Set exists.
- Name string
- The name of the Disk Encryption Set exists.
- Resource
Group stringName - The name of the Resource Group where the Disk Encryption Set exists.
- name String
- The name of the Disk Encryption Set exists.
- resource
Group StringName - The name of the Resource Group where the Disk Encryption Set exists.
- name string
- The name of the Disk Encryption Set exists.
- resource
Group stringName - The name of the Resource Group where the Disk Encryption Set exists.
- name str
- The name of the Disk Encryption Set exists.
- resource_
group_ strname - The name of the Resource Group where the Disk Encryption Set exists.
- name String
- The name of the Disk Encryption Set exists.
- resource
Group StringName - The name of the Resource Group where the Disk Encryption Set exists.
getDiskEncryptionSet Result
The following output properties are available:
- Auto
Key boolRotation Enabled - Is the Azure Disk Encryption Set Key automatically rotated to latest version?
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The location where the Disk Encryption Set exists.
- Name string
- Resource
Group stringName - Dictionary<string, string>
- A mapping of tags assigned to the Disk Encryption Set.
- Auto
Key boolRotation Enabled - Is the Azure Disk Encryption Set Key automatically rotated to latest version?
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The location where the Disk Encryption Set exists.
- Name string
- Resource
Group stringName - map[string]string
- A mapping of tags assigned to the Disk Encryption Set.
- auto
Key BooleanRotation Enabled - Is the Azure Disk Encryption Set Key automatically rotated to latest version?
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The location where the Disk Encryption Set exists.
- name String
- resource
Group StringName - Map<String,String>
- A mapping of tags assigned to the Disk Encryption Set.
- auto
Key booleanRotation Enabled - Is the Azure Disk Encryption Set Key automatically rotated to latest version?
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- The location where the Disk Encryption Set exists.
- name string
- resource
Group stringName - {[key: string]: string}
- A mapping of tags assigned to the Disk Encryption Set.
- auto_
key_ boolrotation_ enabled - Is the Azure Disk Encryption Set Key automatically rotated to latest version?
- id str
- The provider-assigned unique ID for this managed resource.
- location str
- The location where the Disk Encryption Set exists.
- name str
- resource_
group_ strname - Mapping[str, str]
- A mapping of tags assigned to the Disk Encryption Set.
- auto
Key BooleanRotation Enabled - Is the Azure Disk Encryption Set Key automatically rotated to latest version?
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The location where the Disk Encryption Set exists.
- name String
- resource
Group StringName - Map<String>
- A mapping of tags assigned to the Disk Encryption Set.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi