akeyless.TargetAzure
Explore with Pulumi AI
Azure Target resource
Create TargetAzure Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TargetAzure(name: string, args?: TargetAzureArgs, opts?: CustomResourceOptions);
@overload
def TargetAzure(resource_name: str,
args: Optional[TargetAzureArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def TargetAzure(resource_name: str,
opts: Optional[ResourceOptions] = None,
client_id: Optional[str] = None,
client_secret: Optional[str] = None,
description: Optional[str] = None,
key: Optional[str] = None,
name: Optional[str] = None,
target_azure_id: Optional[str] = None,
tenant_id: Optional[str] = None,
use_gw_cloud_identity: Optional[bool] = None)
func NewTargetAzure(ctx *Context, name string, args *TargetAzureArgs, opts ...ResourceOption) (*TargetAzure, error)
public TargetAzure(string name, TargetAzureArgs? args = null, CustomResourceOptions? opts = null)
public TargetAzure(String name, TargetAzureArgs args)
public TargetAzure(String name, TargetAzureArgs args, CustomResourceOptions options)
type: akeyless:TargetAzure
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TargetAzureArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TargetAzureArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TargetAzureArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TargetAzureArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TargetAzureArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var targetAzureResource = new Akeyless.TargetAzure("targetAzureResource", new()
{
ClientId = "string",
ClientSecret = "string",
Description = "string",
Key = "string",
Name = "string",
TargetAzureId = "string",
TenantId = "string",
UseGwCloudIdentity = false,
});
example, err := akeyless.NewTargetAzure(ctx, "targetAzureResource", &akeyless.TargetAzureArgs{
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
Description: pulumi.String("string"),
Key: pulumi.String("string"),
Name: pulumi.String("string"),
TargetAzureId: pulumi.String("string"),
TenantId: pulumi.String("string"),
UseGwCloudIdentity: pulumi.Bool(false),
})
var targetAzureResource = new TargetAzure("targetAzureResource", TargetAzureArgs.builder()
.clientId("string")
.clientSecret("string")
.description("string")
.key("string")
.name("string")
.targetAzureId("string")
.tenantId("string")
.useGwCloudIdentity(false)
.build());
target_azure_resource = akeyless.TargetAzure("targetAzureResource",
client_id="string",
client_secret="string",
description="string",
key="string",
name="string",
target_azure_id="string",
tenant_id="string",
use_gw_cloud_identity=False)
const targetAzureResource = new akeyless.TargetAzure("targetAzureResource", {
clientId: "string",
clientSecret: "string",
description: "string",
key: "string",
name: "string",
targetAzureId: "string",
tenantId: "string",
useGwCloudIdentity: false,
});
type: akeyless:TargetAzure
properties:
clientId: string
clientSecret: string
description: string
key: string
name: string
targetAzureId: string
tenantId: string
useGwCloudIdentity: false
TargetAzure Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TargetAzure resource accepts the following input properties:
- Client
Id string - Azure client/application id
- Client
Secret string - Azure client secret
- Description string
- Description of the object
- Key string
- Key name. The key is used to encrypt the target secret value. If the key name is not specified, the account default protection key is used
- Name string
- Target name
- Target
Azure stringId - The ID of this resource.
- Tenant
Id string - Azure tenant id
- Use
Gw boolCloud Identity - Use the GW's Cloud IAM
- Client
Id string - Azure client/application id
- Client
Secret string - Azure client secret
- Description string
- Description of the object
- Key string
- Key name. The key is used to encrypt the target secret value. If the key name is not specified, the account default protection key is used
- Name string
- Target name
- Target
Azure stringId - The ID of this resource.
- Tenant
Id string - Azure tenant id
- Use
Gw boolCloud Identity - Use the GW's Cloud IAM
- client
Id String - Azure client/application id
- client
Secret String - Azure client secret
- description String
- Description of the object
- key String
- Key name. The key is used to encrypt the target secret value. If the key name is not specified, the account default protection key is used
- name String
- Target name
- target
Azure StringId - The ID of this resource.
- tenant
Id String - Azure tenant id
- use
Gw BooleanCloud Identity - Use the GW's Cloud IAM
- client
Id string - Azure client/application id
- client
Secret string - Azure client secret
- description string
- Description of the object
- key string
- Key name. The key is used to encrypt the target secret value. If the key name is not specified, the account default protection key is used
- name string
- Target name
- target
Azure stringId - The ID of this resource.
- tenant
Id string - Azure tenant id
- use
Gw booleanCloud Identity - Use the GW's Cloud IAM
- client_
id str - Azure client/application id
- client_
secret str - Azure client secret
- description str
- Description of the object
- key str
- Key name. The key is used to encrypt the target secret value. If the key name is not specified, the account default protection key is used
- name str
- Target name
- target_
azure_ strid - The ID of this resource.
- tenant_
id str - Azure tenant id
- use_
gw_ boolcloud_ identity - Use the GW's Cloud IAM
- client
Id String - Azure client/application id
- client
Secret String - Azure client secret
- description String
- Description of the object
- key String
- Key name. The key is used to encrypt the target secret value. If the key name is not specified, the account default protection key is used
- name String
- Target name
- target
Azure StringId - The ID of this resource.
- tenant
Id String - Azure tenant id
- use
Gw BooleanCloud Identity - Use the GW's Cloud IAM
Outputs
All input properties are implicitly available as output properties. Additionally, the TargetAzure resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing TargetAzure Resource
Get an existing TargetAzure resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TargetAzureState, opts?: CustomResourceOptions): TargetAzure
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
client_id: Optional[str] = None,
client_secret: Optional[str] = None,
description: Optional[str] = None,
key: Optional[str] = None,
name: Optional[str] = None,
target_azure_id: Optional[str] = None,
tenant_id: Optional[str] = None,
use_gw_cloud_identity: Optional[bool] = None) -> TargetAzure
func GetTargetAzure(ctx *Context, name string, id IDInput, state *TargetAzureState, opts ...ResourceOption) (*TargetAzure, error)
public static TargetAzure Get(string name, Input<string> id, TargetAzureState? state, CustomResourceOptions? opts = null)
public static TargetAzure get(String name, Output<String> id, TargetAzureState state, CustomResourceOptions options)
resources: _: type: akeyless:TargetAzure get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Client
Id string - Azure client/application id
- Client
Secret string - Azure client secret
- Description string
- Description of the object
- Key string
- Key name. The key is used to encrypt the target secret value. If the key name is not specified, the account default protection key is used
- Name string
- Target name
- Target
Azure stringId - The ID of this resource.
- Tenant
Id string - Azure tenant id
- Use
Gw boolCloud Identity - Use the GW's Cloud IAM
- Client
Id string - Azure client/application id
- Client
Secret string - Azure client secret
- Description string
- Description of the object
- Key string
- Key name. The key is used to encrypt the target secret value. If the key name is not specified, the account default protection key is used
- Name string
- Target name
- Target
Azure stringId - The ID of this resource.
- Tenant
Id string - Azure tenant id
- Use
Gw boolCloud Identity - Use the GW's Cloud IAM
- client
Id String - Azure client/application id
- client
Secret String - Azure client secret
- description String
- Description of the object
- key String
- Key name. The key is used to encrypt the target secret value. If the key name is not specified, the account default protection key is used
- name String
- Target name
- target
Azure StringId - The ID of this resource.
- tenant
Id String - Azure tenant id
- use
Gw BooleanCloud Identity - Use the GW's Cloud IAM
- client
Id string - Azure client/application id
- client
Secret string - Azure client secret
- description string
- Description of the object
- key string
- Key name. The key is used to encrypt the target secret value. If the key name is not specified, the account default protection key is used
- name string
- Target name
- target
Azure stringId - The ID of this resource.
- tenant
Id string - Azure tenant id
- use
Gw booleanCloud Identity - Use the GW's Cloud IAM
- client_
id str - Azure client/application id
- client_
secret str - Azure client secret
- description str
- Description of the object
- key str
- Key name. The key is used to encrypt the target secret value. If the key name is not specified, the account default protection key is used
- name str
- Target name
- target_
azure_ strid - The ID of this resource.
- tenant_
id str - Azure tenant id
- use_
gw_ boolcloud_ identity - Use the GW's Cloud IAM
- client
Id String - Azure client/application id
- client
Secret String - Azure client secret
- description String
- Description of the object
- key String
- Key name. The key is used to encrypt the target secret value. If the key name is not specified, the account default protection key is used
- name String
- Target name
- target
Azure StringId - The ID of this resource.
- tenant
Id String - Azure tenant id
- use
Gw BooleanCloud Identity - Use the GW's Cloud IAM
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeyless
Terraform Provider.