azure-native.mobilepacketcore.SmfDeployment
Explore with Pulumi AI
Azure for Operators 5G Core Session Management Function (SMF) Deployment Resource Azure REST API version: 2023-10-15-preview.
Example Usage
SmfDeployments_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var smfDeployment = new AzureNative.MobilePacketCore.SmfDeployment("smfDeployment", new()
{
ClusterService = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster",
ComponentParameters = "{\"global\": {\"registry\": {\"docker\": []}}}",
Location = "eastus",
ResourceGroupName = "rg1",
SecretsParameters = "{\"global\": {\"secret\": {\"secretValue\": []}}}",
SmfDeploymentName = "smfDeployment1",
});
});
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.NewSmfDeployment(ctx, "smfDeployment", &mobilepacketcore.SmfDeploymentArgs{
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"),
ResourceGroupName: pulumi.String("rg1"),
SecretsParameters: pulumi.String("{\"global\": {\"secret\": {\"secretValue\": []}}}"),
SmfDeploymentName: pulumi.String("smfDeployment1"),
})
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.SmfDeployment;
import com.pulumi.azurenative.mobilepacketcore.SmfDeploymentArgs;
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 smfDeployment = new SmfDeployment("smfDeployment", SmfDeploymentArgs.builder()
.clusterService("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster")
.componentParameters("{\"global\": {\"registry\": {\"docker\": []}}}")
.location("eastus")
.resourceGroupName("rg1")
.secretsParameters("{\"global\": {\"secret\": {\"secretValue\": []}}}")
.smfDeploymentName("smfDeployment1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
smf_deployment = azure_native.mobilepacketcore.SmfDeployment("smfDeployment",
cluster_service="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster",
component_parameters="{\"global\": {\"registry\": {\"docker\": []}}}",
location="eastus",
resource_group_name="rg1",
secrets_parameters="{\"global\": {\"secret\": {\"secretValue\": []}}}",
smf_deployment_name="smfDeployment1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const smfDeployment = new azure_native.mobilepacketcore.SmfDeployment("smfDeployment", {
clusterService: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster",
componentParameters: "{\"global\": {\"registry\": {\"docker\": []}}}",
location: "eastus",
resourceGroupName: "rg1",
secretsParameters: "{\"global\": {\"secret\": {\"secretValue\": []}}}",
smfDeploymentName: "smfDeployment1",
});
resources:
smfDeployment:
type: azure-native:mobilepacketcore:SmfDeployment
properties:
clusterService: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster
componentParameters: '{"global": {"registry": {"docker": []}}}'
location: eastus
resourceGroupName: rg1
secretsParameters: '{"global": {"secret": {"secretValue": []}}}'
smfDeploymentName: smfDeployment1
Create SmfDeployment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SmfDeployment(name: string, args: SmfDeploymentArgs, opts?: CustomResourceOptions);
@overload
def SmfDeployment(resource_name: str,
args: SmfDeploymentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SmfDeployment(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,
secrets_parameters: Optional[str] = None,
smf_deployment_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewSmfDeployment(ctx *Context, name string, args SmfDeploymentArgs, opts ...ResourceOption) (*SmfDeployment, error)
public SmfDeployment(string name, SmfDeploymentArgs args, CustomResourceOptions? opts = null)
public SmfDeployment(String name, SmfDeploymentArgs args)
public SmfDeployment(String name, SmfDeploymentArgs args, CustomResourceOptions options)
type: azure-native:mobilepacketcore:SmfDeployment
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 SmfDeploymentArgs
- 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 SmfDeploymentArgs
- 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 SmfDeploymentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SmfDeploymentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SmfDeploymentArgs
- 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 smfDeploymentResource = new AzureNative.MobilePacketCore.SmfDeployment("smfDeploymentResource", new()
{
ClusterService = "string",
ResourceGroupName = "string",
ComponentParameters = "string",
Location = "string",
SecretsParameters = "string",
SmfDeploymentName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := mobilepacketcore.NewSmfDeployment(ctx, "smfDeploymentResource", &mobilepacketcore.SmfDeploymentArgs{
ClusterService: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
ComponentParameters: pulumi.String("string"),
Location: pulumi.String("string"),
SecretsParameters: pulumi.String("string"),
SmfDeploymentName: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var smfDeploymentResource = new SmfDeployment("smfDeploymentResource", SmfDeploymentArgs.builder()
.clusterService("string")
.resourceGroupName("string")
.componentParameters("string")
.location("string")
.secretsParameters("string")
.smfDeploymentName("string")
.tags(Map.of("string", "string"))
.build());
smf_deployment_resource = azure_native.mobilepacketcore.SmfDeployment("smfDeploymentResource",
cluster_service="string",
resource_group_name="string",
component_parameters="string",
location="string",
secrets_parameters="string",
smf_deployment_name="string",
tags={
"string": "string",
})
const smfDeploymentResource = new azure_native.mobilepacketcore.SmfDeployment("smfDeploymentResource", {
clusterService: "string",
resourceGroupName: "string",
componentParameters: "string",
location: "string",
secretsParameters: "string",
smfDeploymentName: "string",
tags: {
string: "string",
},
});
type: azure-native:mobilepacketcore:SmfDeployment
properties:
clusterService: string
componentParameters: string
location: string
resourceGroupName: string
secretsParameters: string
smfDeploymentName: string
tags:
string: string
SmfDeployment 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 SmfDeployment 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 SMF component parameters
- Location string
- The geo-location where the resource lives
- Secrets
Parameters string - Azure for Operators 5G Core SMF secrets parameters
- Smf
Deployment stringName - The name of the SmfDeployment
- 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 SMF component parameters
- Location string
- The geo-location where the resource lives
- Secrets
Parameters string - Azure for Operators 5G Core SMF secrets parameters
- Smf
Deployment stringName - The name of the SmfDeployment
- 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 SMF component parameters
- location String
- The geo-location where the resource lives
- secrets
Parameters String - Azure for Operators 5G Core SMF secrets parameters
- smf
Deployment StringName - The name of the SmfDeployment
- 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 SMF component parameters
- location string
- The geo-location where the resource lives
- secrets
Parameters string - Azure for Operators 5G Core SMF secrets parameters
- smf
Deployment stringName - The name of the SmfDeployment
- {[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 SMF component parameters
- location str
- The geo-location where the resource lives
- secrets_
parameters str - Azure for Operators 5G Core SMF secrets parameters
- smf_
deployment_ strname - The name of the SmfDeployment
- 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 SMF component parameters
- location String
- The geo-location where the resource lives
- secrets
Parameters String - Azure for Operators 5G Core SMF secrets parameters
- smf
Deployment StringName - The name of the SmfDeployment
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the SmfDeployment 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:SmfDeployment smfDeployment1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobilePacketCore/smfDeployments/{smfDeploymentName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0