azure-native.cdn.KeyGroup
Explore with Pulumi AI
Contains a list of references of UrlSigningKey type secret objects.
Uses Azure REST API version 2024-06-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-07-01-preview.
Other available API versions: 2023-07-01-preview, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cdn [ApiVersion]
. See the version guide for details.
Create KeyGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KeyGroup(name: string, args: KeyGroupArgs, opts?: CustomResourceOptions);
@overload
def KeyGroup(resource_name: str,
args: KeyGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def KeyGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
profile_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
key_group_name: Optional[str] = None,
key_references: Optional[Sequence[ResourceReferenceArgs]] = None)
func NewKeyGroup(ctx *Context, name string, args KeyGroupArgs, opts ...ResourceOption) (*KeyGroup, error)
public KeyGroup(string name, KeyGroupArgs args, CustomResourceOptions? opts = null)
public KeyGroup(String name, KeyGroupArgs args)
public KeyGroup(String name, KeyGroupArgs args, CustomResourceOptions options)
type: azure-native:cdn:KeyGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. KeyGroupArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. KeyGroupArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. KeyGroupArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. KeyGroupArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. KeyGroupArgs - 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 keyGroupResource = new AzureNative.Cdn.KeyGroup("keyGroupResource", new()
{
ProfileName = "string",
ResourceGroupName = "string",
KeyGroupName = "string",
KeyReferences = new[]
{
new AzureNative.Cdn.Inputs.ResourceReferenceArgs
{
Id = "string",
},
},
});
example, err := cdn.NewKeyGroup(ctx, "keyGroupResource", &cdn.KeyGroupArgs{
ProfileName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
KeyGroupName: pulumi.String("string"),
KeyReferences: cdn.ResourceReferenceArray{
&cdn.ResourceReferenceArgs{
Id: pulumi.String("string"),
},
},
})
var keyGroupResource = new KeyGroup("keyGroupResource", KeyGroupArgs.builder()
.profileName("string")
.resourceGroupName("string")
.keyGroupName("string")
.keyReferences(ResourceReferenceArgs.builder()
.id("string")
.build())
.build());
key_group_resource = azure_native.cdn.KeyGroup("keyGroupResource",
profile_name="string",
resource_group_name="string",
key_group_name="string",
key_references=[{
"id": "string",
}])
const keyGroupResource = new azure_native.cdn.KeyGroup("keyGroupResource", {
profileName: "string",
resourceGroupName: "string",
keyGroupName: "string",
keyReferences: [{
id: "string",
}],
});
type: azure-native:cdn:KeyGroup
properties:
keyGroupName: string
keyReferences:
- id: string
profileName: string
resourceGroupName: string
KeyGroup 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 KeyGroup resource accepts the following input properties:
- Profile
Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Key
Group Name Changes to this property will trigger replacement.
- Name of the KeyGroup under the profile.
- Key
References List<Pulumi.Azure Native. Cdn. Inputs. Resource Reference> - Names of UrlSigningKey type secret objects
- Profile
Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Key
Group Name Changes to this property will trigger replacement.
- Name of the KeyGroup under the profile.
- Key
References []ResourceReference Args - Names of UrlSigningKey type secret objects
- profile
Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- key
Group Name Changes to this property will trigger replacement.
- Name of the KeyGroup under the profile.
- key
References List<ResourceReference> - Names of UrlSigningKey type secret objects
- profile
Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- key
Group Name Changes to this property will trigger replacement.
- Name of the KeyGroup under the profile.
- key
References ResourceReference[] - Names of UrlSigningKey type secret objects
- profile_
name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- key_
group_ name Changes to this property will trigger replacement.
- Name of the KeyGroup under the profile.
- key_
references Sequence[ResourceReference Args] - Names of UrlSigningKey type secret objects
- profile
Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- key
Group Name Changes to this property will trigger replacement.
- Name of the KeyGroup under the profile.
- key
References List<Property Map> - Names of UrlSigningKey type secret objects
Outputs
All input properties are implicitly available as output properties. Additionally, the KeyGroup resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Deployment
Status string - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- Provisioning
State string - Provisioning status
- System
Data Pulumi.Azure Native. Cdn. Outputs. System Data Response - Read only system data
- Type string
- Resource type.
- Azure
Api stringVersion - The Azure API version of the resource.
- Deployment
Status string - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- Provisioning
State string - Provisioning status
- System
Data SystemData Response - Read only system data
- Type string
- Resource type.
- azure
Api StringVersion - The Azure API version of the resource.
- deployment
Status String - id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- provisioning
State String - Provisioning status
- system
Data SystemData Response - Read only system data
- type String
- Resource type.
- azure
Api stringVersion - The Azure API version of the resource.
- deployment
Status string - id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name.
- provisioning
State string - Provisioning status
- system
Data SystemData Response - Read only system data
- type string
- Resource type.
- azure_
api_ strversion - The Azure API version of the resource.
- deployment_
status str - id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name.
- provisioning_
state str - Provisioning status
- system_
data SystemData Response - Read only system data
- type str
- Resource type.
- azure
Api StringVersion - The Azure API version of the resource.
- deployment
Status String - id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- provisioning
State String - Provisioning status
- system
Data Property Map - Read only system data
- type String
- Resource type.
Supporting Types
ResourceReference, ResourceReferenceArgs
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
ResourceReferenceResponse, ResourceReferenceResponseArgs
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC)
- Created
By string - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for the identity that last modified the resource
- last
Modified StringBy Type - The type of identity that last modified the resource
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:cdn:KeyGroup kg1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/keyGroups/{keyGroupName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0