This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.dataprotection.getResourceGuard
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Azure REST API version: 2023-01-01.
Other available API versions: 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-06-01-preview, 2023-08-01-preview, 2023-11-01, 2023-12-01, 2024-02-01-preview, 2024-03-01, 2024-04-01.
Using getResourceGuard
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 getResourceGuard(args: GetResourceGuardArgs, opts?: InvokeOptions): Promise<GetResourceGuardResult>
function getResourceGuardOutput(args: GetResourceGuardOutputArgs, opts?: InvokeOptions): Output<GetResourceGuardResult>
def get_resource_guard(resource_group_name: Optional[str] = None,
resource_guards_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetResourceGuardResult
def get_resource_guard_output(resource_group_name: Optional[pulumi.Input[str]] = None,
resource_guards_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetResourceGuardResult]
func LookupResourceGuard(ctx *Context, args *LookupResourceGuardArgs, opts ...InvokeOption) (*LookupResourceGuardResult, error)
func LookupResourceGuardOutput(ctx *Context, args *LookupResourceGuardOutputArgs, opts ...InvokeOption) LookupResourceGuardResultOutput
> Note: This function is named LookupResourceGuard
in the Go SDK.
public static class GetResourceGuard
{
public static Task<GetResourceGuardResult> InvokeAsync(GetResourceGuardArgs args, InvokeOptions? opts = null)
public static Output<GetResourceGuardResult> Invoke(GetResourceGuardInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetResourceGuardResult> getResourceGuard(GetResourceGuardArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:dataprotection:getResourceGuard
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Guards stringName - The name of ResourceGuard
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Guards stringName - The name of ResourceGuard
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Guards StringName - The name of ResourceGuard
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- resource
Guards stringName - The name of ResourceGuard
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- resource_
guards_ strname - The name of ResourceGuard
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Guards StringName - The name of ResourceGuard
getResourceGuard Result
The following output properties are available:
- Id string
- Resource Id represents the complete path to the resource.
- Name string
- Resource name associated with the resource.
- Properties
Pulumi.
Azure Native. Data Protection. Outputs. Resource Guard Response - ResourceGuardResource properties
- System
Data Pulumi.Azure Native. Data Protection. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- ETag string
- Optional ETag.
- Location string
- Resource location.
- Dictionary<string, string>
- Resource tags.
- Id string
- Resource Id represents the complete path to the resource.
- Name string
- Resource name associated with the resource.
- Properties
Resource
Guard Response - ResourceGuardResource properties
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- ETag string
- Optional ETag.
- Location string
- Resource location.
- map[string]string
- Resource tags.
- id String
- Resource Id represents the complete path to the resource.
- name String
- Resource name associated with the resource.
- properties
Resource
Guard Response - ResourceGuardResource properties
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- e
Tag String - Optional ETag.
- location String
- Resource location.
- Map<String,String>
- Resource tags.
- id string
- Resource Id represents the complete path to the resource.
- name string
- Resource name associated with the resource.
- properties
Resource
Guard Response - ResourceGuardResource properties
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type string
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- e
Tag string - Optional ETag.
- location string
- Resource location.
- {[key: string]: string}
- Resource tags.
- id str
- Resource Id represents the complete path to the resource.
- name str
- Resource name associated with the resource.
- properties
Resource
Guard Response - ResourceGuardResource properties
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type str
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- e_
tag str - Optional ETag.
- location str
- Resource location.
- Mapping[str, str]
- Resource tags.
- id String
- Resource Id represents the complete path to the resource.
- name String
- Resource name associated with the resource.
- properties Property Map
- ResourceGuardResource properties
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- e
Tag String - Optional ETag.
- location String
- Resource location.
- Map<String>
- Resource tags.
Supporting Types
ResourceGuardOperationResponse
- Request
Resource stringType - Type of resource request.
- Vault
Critical stringOperation - Name of the critical operation.
- Request
Resource stringType - Type of resource request.
- Vault
Critical stringOperation - Name of the critical operation.
- request
Resource StringType - Type of resource request.
- vault
Critical StringOperation - Name of the critical operation.
- request
Resource stringType - Type of resource request.
- vault
Critical stringOperation - Name of the critical operation.
- request_
resource_ strtype - Type of resource request.
- vault_
critical_ stroperation - Name of the critical operation.
- request
Resource StringType - Type of resource request.
- vault
Critical StringOperation - Name of the critical operation.
ResourceGuardResponse
- Allow
Auto boolApprovals - This flag indicates whether auto approval is allowed or not.
- Description string
- Description about the pre-req steps to perform all the critical operations.
- Provisioning
State string - Provisioning state of the BackupVault resource
- Resource
Guard List<Pulumi.Operations Azure Native. Data Protection. Inputs. Resource Guard Operation Response> - {readonly} List of operation details those are protected by the ResourceGuard resource
- Vault
Critical List<string>Operation Exclusion List - List of critical operations which are not protected by this resourceGuard
- Allow
Auto boolApprovals - This flag indicates whether auto approval is allowed or not.
- Description string
- Description about the pre-req steps to perform all the critical operations.
- Provisioning
State string - Provisioning state of the BackupVault resource
- Resource
Guard []ResourceOperations Guard Operation Response - {readonly} List of operation details those are protected by the ResourceGuard resource
- Vault
Critical []stringOperation Exclusion List - List of critical operations which are not protected by this resourceGuard
- allow
Auto BooleanApprovals - This flag indicates whether auto approval is allowed or not.
- description String
- Description about the pre-req steps to perform all the critical operations.
- provisioning
State String - Provisioning state of the BackupVault resource
- resource
Guard List<ResourceOperations Guard Operation Response> - {readonly} List of operation details those are protected by the ResourceGuard resource
- vault
Critical List<String>Operation Exclusion List - List of critical operations which are not protected by this resourceGuard
- allow
Auto booleanApprovals - This flag indicates whether auto approval is allowed or not.
- description string
- Description about the pre-req steps to perform all the critical operations.
- provisioning
State string - Provisioning state of the BackupVault resource
- resource
Guard ResourceOperations Guard Operation Response[] - {readonly} List of operation details those are protected by the ResourceGuard resource
- vault
Critical string[]Operation Exclusion List - List of critical operations which are not protected by this resourceGuard
- allow_
auto_ boolapprovals - This flag indicates whether auto approval is allowed or not.
- description str
- Description about the pre-req steps to perform all the critical operations.
- provisioning_
state str - Provisioning state of the BackupVault resource
- resource_
guard_ Sequence[Resourceoperations Guard Operation Response] - {readonly} List of operation details those are protected by the ResourceGuard resource
- vault_
critical_ Sequence[str]operation_ exclusion_ list - List of critical operations which are not protected by this resourceGuard
- allow
Auto BooleanApprovals - This flag indicates whether auto approval is allowed or not.
- description String
- Description about the pre-req steps to perform all the critical operations.
- provisioning
State String - Provisioning state of the BackupVault resource
- resource
Guard List<Property Map>Operations - {readonly} List of operation details those are protected by the ResourceGuard resource
- vault
Critical List<String>Operation Exclusion List - List of critical operations which are not protected by this resourceGuard
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
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi