azure-native.cdn.AFDTargetGroup
Explore with Pulumi AI
AFDTargetGroup comprises a list of Endpoints that is used for tunnelling protocols to allow certain traffic.
Uses Azure REST API version 2024-06-01-preview. In version 2.x of the Azure Native provider, it used API version 2024-06-01-preview.
Create AFDTargetGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AFDTargetGroup(name: string, args: AFDTargetGroupArgs, opts?: CustomResourceOptions);
@overload
def AFDTargetGroup(resource_name: str,
args: AFDTargetGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AFDTargetGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
profile_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
target_endpoints: Optional[Sequence[TargetEndpointArgs]] = None,
target_group_name: Optional[str] = None)
func NewAFDTargetGroup(ctx *Context, name string, args AFDTargetGroupArgs, opts ...ResourceOption) (*AFDTargetGroup, error)
public AFDTargetGroup(string name, AFDTargetGroupArgs args, CustomResourceOptions? opts = null)
public AFDTargetGroup(String name, AFDTargetGroupArgs args)
public AFDTargetGroup(String name, AFDTargetGroupArgs args, CustomResourceOptions options)
type: azure-native:cdn:AFDTargetGroup
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. AFDTargetGroupArgs - 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. AFDTargetGroupArgs - 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. AFDTargetGroupArgs - 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. AFDTargetGroupArgs - 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. AFDTargetGroupArgs - 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 afdtargetGroupResource = new AzureNative.Cdn.AFDTargetGroup("afdtargetGroupResource", new()
{
ProfileName = "string",
ResourceGroupName = "string",
TargetEndpoints = new[]
{
new AzureNative.Cdn.Inputs.TargetEndpointArgs
{
Ports = new[]
{
0,
},
TargetFqdn = "string",
},
},
TargetGroupName = "string",
});
example, err := cdn.NewAFDTargetGroup(ctx, "afdtargetGroupResource", &cdn.AFDTargetGroupArgs{
ProfileName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
TargetEndpoints: cdn.TargetEndpointArray{
&cdn.TargetEndpointArgs{
Ports: pulumi.IntArray{
pulumi.Int(0),
},
TargetFqdn: pulumi.String("string"),
},
},
TargetGroupName: pulumi.String("string"),
})
var afdtargetGroupResource = new AFDTargetGroup("afdtargetGroupResource", AFDTargetGroupArgs.builder()
.profileName("string")
.resourceGroupName("string")
.targetEndpoints(TargetEndpointArgs.builder()
.ports(0)
.targetFqdn("string")
.build())
.targetGroupName("string")
.build());
afdtarget_group_resource = azure_native.cdn.AFDTargetGroup("afdtargetGroupResource",
profile_name="string",
resource_group_name="string",
target_endpoints=[{
"ports": [0],
"target_fqdn": "string",
}],
target_group_name="string")
const afdtargetGroupResource = new azure_native.cdn.AFDTargetGroup("afdtargetGroupResource", {
profileName: "string",
resourceGroupName: "string",
targetEndpoints: [{
ports: [0],
targetFqdn: "string",
}],
targetGroupName: "string",
});
type: azure-native:cdn:AFDTargetGroup
properties:
profileName: string
resourceGroupName: string
targetEndpoints:
- ports:
- 0
targetFqdn: string
targetGroupName: string
AFDTargetGroup 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 AFDTargetGroup 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.
- Name of the Resource group within the Azure subscription.
- Target
Endpoints This property is required. List<Pulumi.Azure Native. Cdn. Inputs. Target Endpoint> - TargetEndpoint list referenced by this target group.
- Target
Group Name Changes to this property will trigger replacement.
- Name of the Target Group under the profile.
- 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.
- Name of the Resource group within the Azure subscription.
- Target
Endpoints This property is required. []TargetEndpoint Args - TargetEndpoint list referenced by this target group.
- Target
Group Name Changes to this property will trigger replacement.
- Name of the Target Group under the profile.
- 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.
- Name of the Resource group within the Azure subscription.
- target
Endpoints This property is required. List<TargetEndpoint> - TargetEndpoint list referenced by this target group.
- target
Group Name Changes to this property will trigger replacement.
- Name of the Target Group under the profile.
- 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.
- Name of the Resource group within the Azure subscription.
- target
Endpoints This property is required. TargetEndpoint[] - TargetEndpoint list referenced by this target group.
- target
Group Name Changes to this property will trigger replacement.
- Name of the Target Group under the profile.
- 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.
- Name of the Resource group within the Azure subscription.
- target_
endpoints This property is required. Sequence[TargetEndpoint Args] - TargetEndpoint list referenced by this target group.
- target_
group_ name Changes to this property will trigger replacement.
- Name of the Target Group under the profile.
- 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.
- Name of the Resource group within the Azure subscription.
- target
Endpoints This property is required. List<Property Map> - TargetEndpoint list referenced by this target group.
- target
Group Name Changes to this property will trigger replacement.
- Name of the Target Group under the profile.
Outputs
All input properties are implicitly available as output properties. Additionally, the AFDTargetGroup 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
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
TargetEndpoint, TargetEndpointArgs
- Ports List<int>
- The Ports to be allowed for the FQDN.
- Target
Fqdn string - The FQDN for traffic endpoint.
- Ports []int
- The Ports to be allowed for the FQDN.
- Target
Fqdn string - The FQDN for traffic endpoint.
- ports List<Integer>
- The Ports to be allowed for the FQDN.
- target
Fqdn String - The FQDN for traffic endpoint.
- ports number[]
- The Ports to be allowed for the FQDN.
- target
Fqdn string - The FQDN for traffic endpoint.
- ports Sequence[int]
- The Ports to be allowed for the FQDN.
- target_
fqdn str - The FQDN for traffic endpoint.
- ports List<Number>
- The Ports to be allowed for the FQDN.
- target
Fqdn String - The FQDN for traffic endpoint.
TargetEndpointResponse, TargetEndpointResponseArgs
- Ports List<int>
- The Ports to be allowed for the FQDN.
- Target
Fqdn string - The FQDN for traffic endpoint.
- Ports []int
- The Ports to be allowed for the FQDN.
- Target
Fqdn string - The FQDN for traffic endpoint.
- ports List<Integer>
- The Ports to be allowed for the FQDN.
- target
Fqdn String - The FQDN for traffic endpoint.
- ports number[]
- The Ports to be allowed for the FQDN.
- target
Fqdn string - The FQDN for traffic endpoint.
- ports Sequence[int]
- The Ports to be allowed for the FQDN.
- target_
fqdn str - The FQDN for traffic endpoint.
- ports List<Number>
- The Ports to be allowed for the FQDN.
- target
Fqdn String - The FQDN for traffic endpoint.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:cdn:AFDTargetGroup targetgroup1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/targetGroups/{targetGroupName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0