Azure Native v1.102.0, May 2 23
Azure Native v1.102.0, May 2 23
azure-native.dataprotection.getResourceGuard
Explore with Pulumi AI
API Version: 2021-10-01-preview.
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 where the backup vault is present.
- Resource
Guards stringName The name of ResourceGuard
- Resource
Group stringName The name of the resource group where the backup vault is present.
- Resource
Guards stringName The name of ResourceGuard
- resource
Group StringName The name of the resource group where the backup vault is present.
- resource
Guards StringName The name of ResourceGuard
- resource
Group stringName The name of the resource group where the backup vault is present.
- resource
Guards stringName The name of ResourceGuard
- resource_
group_ strname The name of the resource group where the backup vault is present.
- resource_
guards_ strname The name of ResourceGuard
- resource
Group StringName The name of the resource group where the backup vault is present.
- 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.
- Identity
Pulumi.
Azure Native. Data Protection. Outputs. Dpp Identity Details Response Input Managed Identity Details
- 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.
- Identity
Dpp
Identity Details Response Input Managed Identity Details
- 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.
- identity
Dpp
Identity Details Response Input Managed Identity Details
- 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.
- identity
Dpp
Identity Details Response Input Managed Identity Details
- 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.
- identity
Dpp
Identity Details Response Input Managed Identity Details
- 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.
- identity Property Map
Input Managed Identity Details
- location String
Resource location.
- Map<String>
Resource tags.
Supporting Types
DppIdentityDetailsResponse
- Principal
Id string The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.
- Tenant
Id string A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.
- Type string
The identityType which can be either SystemAssigned or None
- Principal
Id string The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.
- Tenant
Id string A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.
- Type string
The identityType which can be either SystemAssigned or None
- principal
Id String The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.
- tenant
Id String A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.
- type String
The identityType which can be either SystemAssigned or None
- principal
Id string The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.
- tenant
Id string A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.
- type string
The identityType which can be either SystemAssigned or None
- principal_
id str The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.
- tenant_
id str A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.
- type str
The identityType which can be either SystemAssigned or None
- principal
Id String The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.
- tenant
Id String A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.
- type String
The identityType which can be either SystemAssigned or None
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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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