1. Packages
  2. Azure Native
  3. API Docs
  4. mobilepacketcore
  5. NrfDeployment
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.mobilepacketcore.NrfDeployment

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    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:

    ClusterService string
    Reference to cluster where the Network Function is deployed
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ComponentParameters string
    Azure for Operators 5G Core NRF component parameters
    Location string
    The geo-location where the resource lives
    NrfDeploymentName string
    The name of the NrfDeployment
    SecretsParameters string
    Azure for Operators 5G Core NRF secrets parameters
    Tags Dictionary<string, string>
    Resource tags.
    ClusterService string
    Reference to cluster where the Network Function is deployed
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ComponentParameters string
    Azure for Operators 5G Core NRF component parameters
    Location string
    The geo-location where the resource lives
    NrfDeploymentName string
    The name of the NrfDeployment
    SecretsParameters string
    Azure for Operators 5G Core NRF secrets parameters
    Tags map[string]string
    Resource tags.
    clusterService String
    Reference to cluster where the Network Function is deployed
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    componentParameters String
    Azure for Operators 5G Core NRF component parameters
    location String
    The geo-location where the resource lives
    nrfDeploymentName String
    The name of the NrfDeployment
    secretsParameters String
    Azure for Operators 5G Core NRF secrets parameters
    tags Map<String,String>
    Resource tags.
    clusterService string
    Reference to cluster where the Network Function is deployed
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    componentParameters string
    Azure for Operators 5G Core NRF component parameters
    location string
    The geo-location where the resource lives
    nrfDeploymentName string
    The name of the NrfDeployment
    secretsParameters string
    Azure for Operators 5G Core NRF secrets parameters
    tags {[key: string]: string}
    Resource tags.
    cluster_service str
    Reference to cluster where the Network Function is deployed
    resource_group_name str
    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_name str
    The name of the NrfDeployment
    secrets_parameters str
    Azure for Operators 5G Core NRF secrets parameters
    tags Mapping[str, str]
    Resource tags.
    clusterService String
    Reference to cluster where the Network Function is deployed
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    componentParameters String
    Azure for Operators 5G Core NRF component parameters
    location String
    The geo-location where the resource lives
    nrfDeploymentName String
    The name of the NrfDeployment
    secretsParameters String
    Azure for Operators 5G Core NRF secrets parameters
    tags 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
    OperationalStatus Pulumi.AzureNative.MobilePacketCore.Outputs.OperationalStatusResponse
    Operational status
    ProvisioningState string
    The status of the last operation.
    ReleaseVersion string
    Release version. This is inherited from the cluster
    SystemData Pulumi.AzureNative.MobilePacketCore.Outputs.SystemDataResponse
    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
    OperationalStatus OperationalStatusResponse
    Operational status
    ProvisioningState string
    The status of the last operation.
    ReleaseVersion string
    Release version. This is inherited from the cluster
    SystemData SystemDataResponse
    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
    operationalStatus OperationalStatusResponse
    Operational status
    provisioningState String
    The status of the last operation.
    releaseVersion String
    Release version. This is inherited from the cluster
    systemData SystemDataResponse
    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
    operationalStatus OperationalStatusResponse
    Operational status
    provisioningState string
    The status of the last operation.
    releaseVersion string
    Release version. This is inherited from the cluster
    systemData SystemDataResponse
    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 OperationalStatusResponse
    Operational status
    provisioning_state str
    The status of the last operation.
    release_version str
    Release version. This is inherited from the cluster
    system_data SystemDataResponse
    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
    operationalStatus Property Map
    Operational status
    provisioningState String
    The status of the last operation.
    releaseVersion String
    Release version. This is inherited from the cluster
    systemData 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

    HealthCheck string
    Health check results
    Workload string
    Status of the deployed workload
    HealthCheck string
    Health check results
    Workload string
    Status of the deployed workload
    healthCheck String
    Health check results
    workload String
    Status of the deployed workload
    healthCheck string
    Health check results
    workload string
    Status of the deployed workload
    health_check str
    Health check results
    workload str
    Status of the deployed workload
    healthCheck String
    Health check results
    workload String
    Status of the deployed workload

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi