azure-native.containerservice.getSnapshot
Explore with Pulumi AI
A node pool snapshot resource. API Version: 2021-08-01.
Using getSnapshot
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 getSnapshot(args: GetSnapshotArgs, opts?: InvokeOptions): Promise<GetSnapshotResult>
function getSnapshotOutput(args: GetSnapshotOutputArgs, opts?: InvokeOptions): Output<GetSnapshotResult>
def get_snapshot(resource_group_name: Optional[str] = None,
resource_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSnapshotResult
def get_snapshot_output(resource_group_name: Optional[pulumi.Input[str]] = None,
resource_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSnapshotResult]
func LookupSnapshot(ctx *Context, args *LookupSnapshotArgs, opts ...InvokeOption) (*LookupSnapshotResult, error)
func LookupSnapshotOutput(ctx *Context, args *LookupSnapshotOutputArgs, opts ...InvokeOption) LookupSnapshotResultOutput
> Note: This function is named LookupSnapshot
in the Go SDK.
public static class GetSnapshot
{
public static Task<GetSnapshotResult> InvokeAsync(GetSnapshotArgs args, InvokeOptions? opts = null)
public static Output<GetSnapshotResult> Invoke(GetSnapshotInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSnapshotResult> getSnapshot(GetSnapshotArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:containerservice:getSnapshot
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName The name of the resource group.
- Resource
Name string The name of the managed cluster resource.
- Resource
Group stringName The name of the resource group.
- Resource
Name string The name of the managed cluster resource.
- resource
Group StringName The name of the resource group.
- resource
Name String The name of the managed cluster resource.
- resource
Group stringName The name of the resource group.
- resource
Name string The name of the managed cluster resource.
- resource_
group_ strname The name of the resource group.
- resource_
name str The name of the managed cluster resource.
- resource
Group StringName The name of the resource group.
- resource
Name String The name of the managed cluster resource.
getSnapshot Result
The following output properties are available:
- Id string
Resource Id
- Location string
Resource location
- Name string
Resource name
- System
Data Pulumi.Azure Native. Container Service. Outputs. System Data Response The system metadata relating to this snapshot.
- Type string
Resource type
- Creation
Data Pulumi.Azure Native. Container Service. Outputs. Creation Data Response CreationData to be used to specify the source agent pool resource ID to create this snapshot.
- Snapshot
Type string The type of a snapshot. The default is NodePool.
- Dictionary<string, string>
Resource tags
- Id string
Resource Id
- Location string
Resource location
- Name string
Resource name
- System
Data SystemData Response The system metadata relating to this snapshot.
- Type string
Resource type
- Creation
Data CreationData Response CreationData to be used to specify the source agent pool resource ID to create this snapshot.
- Snapshot
Type string The type of a snapshot. The default is NodePool.
- map[string]string
Resource tags
- id String
Resource Id
- location String
Resource location
- name String
Resource name
- system
Data SystemData Response The system metadata relating to this snapshot.
- type String
Resource type
- creation
Data CreationData Response CreationData to be used to specify the source agent pool resource ID to create this snapshot.
- snapshot
Type String The type of a snapshot. The default is NodePool.
- Map<String,String>
Resource tags
- id string
Resource Id
- location string
Resource location
- name string
Resource name
- system
Data SystemData Response The system metadata relating to this snapshot.
- type string
Resource type
- creation
Data CreationData Response CreationData to be used to specify the source agent pool resource ID to create this snapshot.
- snapshot
Type string The type of a snapshot. The default is NodePool.
- {[key: string]: string}
Resource tags
- id str
Resource Id
- location str
Resource location
- name str
Resource name
- system_
data SystemData Response The system metadata relating to this snapshot.
- type str
Resource type
- creation_
data CreationData Response CreationData to be used to specify the source agent pool resource ID to create this snapshot.
- snapshot_
type str The type of a snapshot. The default is NodePool.
- Mapping[str, str]
Resource tags
- id String
Resource Id
- location String
Resource location
- name String
Resource name
- system
Data Property Map The system metadata relating to this snapshot.
- type String
Resource type
- creation
Data Property Map CreationData to be used to specify the source agent pool resource ID to create this snapshot.
- snapshot
Type String The type of a snapshot. The default is NodePool.
- Map<String>
Resource tags
Supporting Types
CreationDataResponse
- Source
Resource stringId This is the ARM ID of the source object to be used to create the target object.
- Source
Resource stringId This is the ARM ID of the source object to be used to create the target object.
- source
Resource StringId This is the ARM ID of the source object to be used to create the target object.
- source
Resource stringId This is the ARM ID of the source object to be used to create the target object.
- source_
resource_ strid This is the ARM ID of the source object to be used to create the target object.
- source
Resource StringId This is the ARM ID of the source object to be used to create the target object.
SystemDataResponse
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
- created
At string The timestamp of resource creation (UTC).
- created
By string The identity that created the resource.
- created
By stringType The type of identity that created the resource.
- last
Modified stringAt The timestamp of resource last modification (UTC)
- last
Modified stringBy The identity that last modified the resource.
- last
Modified stringBy Type The type of identity that last modified the resource.
- created_
at str The timestamp of resource creation (UTC).
- created_
by str The identity that created the resource.
- created_
by_ strtype The type of identity that created the resource.
- last_
modified_ strat The timestamp of resource last modification (UTC)
- last_
modified_ strby The identity that last modified the resource.
- last_
modified_ strby_ type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0