azure-native.mobilepacketcore.NrfDeployment
Explore with Pulumi AI
Azure for Operators 5G Core Network Repository Function (NRF) Deployment Resource Azure REST API version: 2023-10-15-preview.
Example Usage
NrfDeployments_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var nrfDeployment = new AzureNative.MobilePacketCore.NrfDeployment("nrfDeployment", new()
{
ClusterService = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster",
ComponentParameters = "{\"global\": {\"registry\": {\"docker\": []}}}",
Location = "eastus",
NrfDeploymentName = "nrfDeployment1",
ResourceGroupName = "rg1",
SecretsParameters = "{\"global\": {\"secret\": {\"secretValue\": []}}}",
});
});
package main
import (
mobilepacketcore "github.com/pulumi/pulumi-azure-native-sdk/mobilepacketcore/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mobilepacketcore.NewNrfDeployment(ctx, "nrfDeployment", &mobilepacketcore.NrfDeploymentArgs{
ClusterService: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster"),
ComponentParameters: pulumi.String("{\"global\": {\"registry\": {\"docker\": []}}}"),
Location: pulumi.String("eastus"),
NrfDeploymentName: pulumi.String("nrfDeployment1"),
ResourceGroupName: pulumi.String("rg1"),
SecretsParameters: pulumi.String("{\"global\": {\"secret\": {\"secretValue\": []}}}"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.mobilepacketcore.NrfDeployment;
import com.pulumi.azurenative.mobilepacketcore.NrfDeploymentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var nrfDeployment = new NrfDeployment("nrfDeployment", NrfDeploymentArgs.builder()
.clusterService("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster")
.componentParameters("{\"global\": {\"registry\": {\"docker\": []}}}")
.location("eastus")
.nrfDeploymentName("nrfDeployment1")
.resourceGroupName("rg1")
.secretsParameters("{\"global\": {\"secret\": {\"secretValue\": []}}}")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
nrf_deployment = azure_native.mobilepacketcore.NrfDeployment("nrfDeployment",
cluster_service="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster",
component_parameters="{\"global\": {\"registry\": {\"docker\": []}}}",
location="eastus",
nrf_deployment_name="nrfDeployment1",
resource_group_name="rg1",
secrets_parameters="{\"global\": {\"secret\": {\"secretValue\": []}}}")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const nrfDeployment = new azure_native.mobilepacketcore.NrfDeployment("nrfDeployment", {
clusterService: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster",
componentParameters: "{\"global\": {\"registry\": {\"docker\": []}}}",
location: "eastus",
nrfDeploymentName: "nrfDeployment1",
resourceGroupName: "rg1",
secretsParameters: "{\"global\": {\"secret\": {\"secretValue\": []}}}",
});
resources:
nrfDeployment:
type: azure-native:mobilepacketcore:NrfDeployment
properties:
clusterService: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster
componentParameters: '{"global": {"registry": {"docker": []}}}'
location: eastus
nrfDeploymentName: nrfDeployment1
resourceGroupName: rg1
secretsParameters: '{"global": {"secret": {"secretValue": []}}}'
Create NrfDeployment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NrfDeployment(name: string, args: NrfDeploymentArgs, opts?: CustomResourceOptions);
@overload
def NrfDeployment(resource_name: str,
args: NrfDeploymentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NrfDeployment(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_service: Optional[str] = None,
resource_group_name: Optional[str] = None,
component_parameters: Optional[str] = None,
location: Optional[str] = None,
nrf_deployment_name: Optional[str] = None,
secrets_parameters: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewNrfDeployment(ctx *Context, name string, args NrfDeploymentArgs, opts ...ResourceOption) (*NrfDeployment, error)
public NrfDeployment(string name, NrfDeploymentArgs args, CustomResourceOptions? opts = null)
public NrfDeployment(String name, NrfDeploymentArgs args)
public NrfDeployment(String name, NrfDeploymentArgs args, CustomResourceOptions options)
type: azure-native:mobilepacketcore:NrfDeployment
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 NrfDeploymentArgs
- 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 NrfDeploymentArgs
- 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 NrfDeploymentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NrfDeploymentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NrfDeploymentArgs
- 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 nrfDeploymentResource = new AzureNative.MobilePacketCore.NrfDeployment("nrfDeploymentResource", new()
{
ClusterService = "string",
ResourceGroupName = "string",
ComponentParameters = "string",
Location = "string",
NrfDeploymentName = "string",
SecretsParameters = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := mobilepacketcore.NewNrfDeployment(ctx, "nrfDeploymentResource", &mobilepacketcore.NrfDeploymentArgs{
ClusterService: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
ComponentParameters: pulumi.String("string"),
Location: pulumi.String("string"),
NrfDeploymentName: pulumi.String("string"),
SecretsParameters: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var nrfDeploymentResource = new NrfDeployment("nrfDeploymentResource", NrfDeploymentArgs.builder()
.clusterService("string")
.resourceGroupName("string")
.componentParameters("string")
.location("string")
.nrfDeploymentName("string")
.secretsParameters("string")
.tags(Map.of("string", "string"))
.build());
nrf_deployment_resource = azure_native.mobilepacketcore.NrfDeployment("nrfDeploymentResource",
cluster_service="string",
resource_group_name="string",
component_parameters="string",
location="string",
nrf_deployment_name="string",
secrets_parameters="string",
tags={
"string": "string",
})
const nrfDeploymentResource = new azure_native.mobilepacketcore.NrfDeployment("nrfDeploymentResource", {
clusterService: "string",
resourceGroupName: "string",
componentParameters: "string",
location: "string",
nrfDeploymentName: "string",
secretsParameters: "string",
tags: {
string: "string",
},
});
type: azure-native:mobilepacketcore:NrfDeployment
properties:
clusterService: string
componentParameters: string
location: string
nrfDeploymentName: string
resourceGroupName: string
secretsParameters: string
tags:
string: string
NrfDeployment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The NrfDeployment resource accepts the following input properties:
- Cluster
Service string - Reference to cluster where the Network Function is deployed
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Component
Parameters string - Azure for Operators 5G Core NRF component parameters
- Location string
- The geo-location where the resource lives
- Nrf
Deployment stringName - The name of the NrfDeployment
- Secrets
Parameters string - Azure for Operators 5G Core NRF secrets parameters
- Dictionary<string, string>
- Resource tags.
- Cluster
Service string - Reference to cluster where the Network Function is deployed
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Component
Parameters string - Azure for Operators 5G Core NRF component parameters
- Location string
- The geo-location where the resource lives
- Nrf
Deployment stringName - The name of the NrfDeployment
- Secrets
Parameters string - Azure for Operators 5G Core NRF secrets parameters
- map[string]string
- Resource tags.
- cluster
Service String - Reference to cluster where the Network Function is deployed
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- component
Parameters String - Azure for Operators 5G Core NRF component parameters
- location String
- The geo-location where the resource lives
- nrf
Deployment StringName - The name of the NrfDeployment
- secrets
Parameters String - Azure for Operators 5G Core NRF secrets parameters
- Map<String,String>
- Resource tags.
- cluster
Service string - Reference to cluster where the Network Function is deployed
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- component
Parameters string - Azure for Operators 5G Core NRF component parameters
- location string
- The geo-location where the resource lives
- nrf
Deployment stringName - The name of the NrfDeployment
- secrets
Parameters string - Azure for Operators 5G Core NRF secrets parameters
- {[key: string]: string}
- Resource tags.
- cluster_
service str - Reference to cluster where the Network Function is deployed
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- component_
parameters str - Azure for Operators 5G Core NRF component parameters
- location str
- The geo-location where the resource lives
- nrf_
deployment_ strname - The name of the NrfDeployment
- secrets_
parameters str - Azure for Operators 5G Core NRF secrets parameters
- Mapping[str, str]
- Resource tags.
- cluster
Service String - Reference to cluster where the Network Function is deployed
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- component
Parameters String - Azure for Operators 5G Core NRF component parameters
- location String
- The geo-location where the resource lives
- nrf
Deployment StringName - The name of the NrfDeployment
- secrets
Parameters String - Azure for Operators 5G Core NRF secrets parameters
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the NrfDeployment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Operational
Status Pulumi.Azure Native. Mobile Packet Core. Outputs. Operational Status Response - Operational status
- Provisioning
State string - The status of the last operation.
- Release
Version string - Release version. This is inherited from the cluster
- System
Data Pulumi.Azure Native. Mobile Packet Core. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Operational
Status OperationalStatus Response - Operational status
- Provisioning
State string - The status of the last operation.
- Release
Version string - Release version. This is inherited from the cluster
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- operational
Status OperationalStatus Response - Operational status
- provisioning
State String - The status of the last operation.
- release
Version String - Release version. This is inherited from the cluster
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- operational
Status OperationalStatus Response - Operational status
- provisioning
State string - The status of the last operation.
- release
Version string - Release version. This is inherited from the cluster
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- operational_
status OperationalStatus Response - Operational status
- provisioning_
state str - The status of the last operation.
- release_
version str - Release version. This is inherited from the cluster
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- operational
Status Property Map - Operational status
- provisioning
State String - The status of the last operation.
- release
Version String - Release version. This is inherited from the cluster
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
OperationalStatusResponse, OperationalStatusResponseArgs
- Health
Check string - Health check results
- Workload string
- Status of the deployed workload
- Health
Check string - Health check results
- Workload string
- Status of the deployed workload
- health
Check String - Health check results
- workload String
- Status of the deployed workload
- health
Check string - Health check results
- workload string
- Status of the deployed workload
- health_
check str - Health check results
- workload str
- Status of the deployed workload
- health
Check String - Health check results
- workload String
- Status of the deployed workload
SystemDataResponse, SystemDataResponseArgs
- 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:mobilepacketcore:NrfDeployment nrfDeployment1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobilePacketCore/nrfDeployments/{nrfDeploymentName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0