azure-native.mobilepacketcore.ObservabilityService
Explore with Pulumi AI
Azure for Operators 5G Core Observability Service Resource Azure REST API version: 2023-10-15-preview.
Example Usage
ObservabilityServices_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var observabilityService = new AzureNative.MobilePacketCore.ObservabilityService("observabilityService", new()
{
ClusterService = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster",
ComponentParameters = new[]
{
new AzureNative.MobilePacketCore.Inputs.QualifiedComponentDeploymentParametersArgs
{
Parameters = "{\"global\": {\"registry\": {\"docker\": []}}}",
Secrets = "{\"global\": {\"secret\": {\"secretValue\": []}}}",
Type = "fed-crds",
},
},
Location = "eastus",
ObservabilityServiceName = "observabilityService1",
ResourceGroupName = "rg1",
});
});
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.NewObservabilityService(ctx, "observabilityService", &mobilepacketcore.ObservabilityServiceArgs{
ClusterService: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster"),
ComponentParameters: mobilepacketcore.QualifiedComponentDeploymentParametersArray{
&mobilepacketcore.QualifiedComponentDeploymentParametersArgs{
Parameters: pulumi.String("{\"global\": {\"registry\": {\"docker\": []}}}"),
Secrets: pulumi.String("{\"global\": {\"secret\": {\"secretValue\": []}}}"),
Type: pulumi.String("fed-crds"),
},
},
Location: pulumi.String("eastus"),
ObservabilityServiceName: pulumi.String("observabilityService1"),
ResourceGroupName: pulumi.String("rg1"),
})
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.ObservabilityService;
import com.pulumi.azurenative.mobilepacketcore.ObservabilityServiceArgs;
import com.pulumi.azurenative.mobilepacketcore.inputs.QualifiedComponentDeploymentParametersArgs;
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 observabilityService = new ObservabilityService("observabilityService", ObservabilityServiceArgs.builder()
.clusterService("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster")
.componentParameters(QualifiedComponentDeploymentParametersArgs.builder()
.parameters("{\"global\": {\"registry\": {\"docker\": []}}}")
.secrets("{\"global\": {\"secret\": {\"secretValue\": []}}}")
.type("fed-crds")
.build())
.location("eastus")
.observabilityServiceName("observabilityService1")
.resourceGroupName("rg1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
observability_service = azure_native.mobilepacketcore.ObservabilityService("observabilityService",
cluster_service="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster",
component_parameters=[azure_native.mobilepacketcore.QualifiedComponentDeploymentParametersArgs(
parameters="{\"global\": {\"registry\": {\"docker\": []}}}",
secrets="{\"global\": {\"secret\": {\"secretValue\": []}}}",
type="fed-crds",
)],
location="eastus",
observability_service_name="observabilityService1",
resource_group_name="rg1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const observabilityService = new azure_native.mobilepacketcore.ObservabilityService("observabilityService", {
clusterService: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster",
componentParameters: [{
parameters: "{\"global\": {\"registry\": {\"docker\": []}}}",
secrets: "{\"global\": {\"secret\": {\"secretValue\": []}}}",
type: "fed-crds",
}],
location: "eastus",
observabilityServiceName: "observabilityService1",
resourceGroupName: "rg1",
});
resources:
observabilityService:
type: azure-native:mobilepacketcore:ObservabilityService
properties:
clusterService: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobilePacketCore/clusterServices/byoCluster
componentParameters:
- parameters: '{"global": {"registry": {"docker": []}}}'
secrets: '{"global": {"secret": {"secretValue": []}}}'
type: fed-crds
location: eastus
observabilityServiceName: observabilityService1
resourceGroupName: rg1
Create ObservabilityService Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObservabilityService(name: string, args: ObservabilityServiceArgs, opts?: CustomResourceOptions);
@overload
def ObservabilityService(resource_name: str,
args: ObservabilityServiceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObservabilityService(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_service: Optional[str] = None,
component_parameters: Optional[Sequence[QualifiedComponentDeploymentParametersArgs]] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
observability_service_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewObservabilityService(ctx *Context, name string, args ObservabilityServiceArgs, opts ...ResourceOption) (*ObservabilityService, error)
public ObservabilityService(string name, ObservabilityServiceArgs args, CustomResourceOptions? opts = null)
public ObservabilityService(String name, ObservabilityServiceArgs args)
public ObservabilityService(String name, ObservabilityServiceArgs args, CustomResourceOptions options)
type: azure-native:mobilepacketcore:ObservabilityService
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 ObservabilityServiceArgs
- 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 ObservabilityServiceArgs
- 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 ObservabilityServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObservabilityServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObservabilityServiceArgs
- 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 observabilityServiceResource = new AzureNative.MobilePacketCore.ObservabilityService("observabilityServiceResource", new()
{
ClusterService = "string",
ComponentParameters = new[]
{
new AzureNative.MobilePacketCore.Inputs.QualifiedComponentDeploymentParametersArgs
{
Type = "string",
Parameters = "string",
Secrets = "string",
},
},
ResourceGroupName = "string",
Location = "string",
ObservabilityServiceName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := mobilepacketcore.NewObservabilityService(ctx, "observabilityServiceResource", &mobilepacketcore.ObservabilityServiceArgs{
ClusterService: pulumi.String("string"),
ComponentParameters: mobilepacketcore.QualifiedComponentDeploymentParametersArray{
&mobilepacketcore.QualifiedComponentDeploymentParametersArgs{
Type: pulumi.String("string"),
Parameters: pulumi.String("string"),
Secrets: pulumi.String("string"),
},
},
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
ObservabilityServiceName: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var observabilityServiceResource = new ObservabilityService("observabilityServiceResource", ObservabilityServiceArgs.builder()
.clusterService("string")
.componentParameters(QualifiedComponentDeploymentParametersArgs.builder()
.type("string")
.parameters("string")
.secrets("string")
.build())
.resourceGroupName("string")
.location("string")
.observabilityServiceName("string")
.tags(Map.of("string", "string"))
.build());
observability_service_resource = azure_native.mobilepacketcore.ObservabilityService("observabilityServiceResource",
cluster_service="string",
component_parameters=[azure_native.mobilepacketcore.QualifiedComponentDeploymentParametersArgs(
type="string",
parameters="string",
secrets="string",
)],
resource_group_name="string",
location="string",
observability_service_name="string",
tags={
"string": "string",
})
const observabilityServiceResource = new azure_native.mobilepacketcore.ObservabilityService("observabilityServiceResource", {
clusterService: "string",
componentParameters: [{
type: "string",
parameters: "string",
secrets: "string",
}],
resourceGroupName: "string",
location: "string",
observabilityServiceName: "string",
tags: {
string: "string",
},
});
type: azure-native:mobilepacketcore:ObservabilityService
properties:
clusterService: string
componentParameters:
- parameters: string
secrets: string
type: string
location: string
observabilityServiceName: string
resourceGroupName: string
tags:
string: string
ObservabilityService 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 ObservabilityService resource accepts the following input properties:
- Cluster
Service string - Reference to cluster where the observability components are deployed
- Component
Parameters List<Pulumi.Azure Native. Mobile Packet Core. Inputs. Qualified Component Deployment Parameters> - Azure for Operators 5G Core Observability component parameters. One set per component type
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Observability
Service stringName - The name of the Observability Service
- Dictionary<string, string>
- Resource tags.
- Cluster
Service string - Reference to cluster where the observability components are deployed
- Component
Parameters []QualifiedComponent Deployment Parameters Args - Azure for Operators 5G Core Observability component parameters. One set per component type
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Observability
Service stringName - The name of the Observability Service
- map[string]string
- Resource tags.
- cluster
Service String - Reference to cluster where the observability components are deployed
- component
Parameters List<QualifiedComponent Deployment Parameters> - Azure for Operators 5G Core Observability component parameters. One set per component type
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- observability
Service StringName - The name of the Observability Service
- Map<String,String>
- Resource tags.
- cluster
Service string - Reference to cluster where the observability components are deployed
- component
Parameters QualifiedComponent Deployment Parameters[] - Azure for Operators 5G Core Observability component parameters. One set per component type
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- location string
- The geo-location where the resource lives
- observability
Service stringName - The name of the Observability Service
- {[key: string]: string}
- Resource tags.
- cluster_
service str - Reference to cluster where the observability components are deployed
- component_
parameters Sequence[QualifiedComponent Deployment Parameters Args] - Azure for Operators 5G Core Observability component parameters. One set per component type
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- location str
- The geo-location where the resource lives
- observability_
service_ strname - The name of the Observability Service
- Mapping[str, str]
- Resource tags.
- cluster
Service String - Reference to cluster where the observability components are deployed
- component
Parameters List<Property Map> - Azure for Operators 5G Core Observability component parameters. One set per component type
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- observability
Service StringName - The name of the Observability Service
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObservabilityService 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
QualifiedComponentDeploymentParameters, QualifiedComponentDeploymentParametersArgs
- Type string
- Federation Type
- Parameters string
- Deployment Parameters
- Secrets string
- Deployment secrets
- Type string
- Federation Type
- Parameters string
- Deployment Parameters
- Secrets string
- Deployment secrets
- type String
- Federation Type
- parameters String
- Deployment Parameters
- secrets String
- Deployment secrets
- type string
- Federation Type
- parameters string
- Deployment Parameters
- secrets string
- Deployment secrets
- type str
- Federation Type
- parameters str
- Deployment Parameters
- secrets str
- Deployment secrets
- type String
- Federation Type
- parameters String
- Deployment Parameters
- secrets String
- Deployment secrets
QualifiedComponentDeploymentParametersResponse, QualifiedComponentDeploymentParametersResponseArgs
- Type string
- Federation Type
- Parameters string
- Deployment Parameters
- Secrets string
- Deployment secrets
- Type string
- Federation Type
- Parameters string
- Deployment Parameters
- Secrets string
- Deployment secrets
- type String
- Federation Type
- parameters String
- Deployment Parameters
- secrets String
- Deployment secrets
- type string
- Federation Type
- parameters string
- Deployment Parameters
- secrets string
- Deployment secrets
- type str
- Federation Type
- parameters str
- Deployment Parameters
- secrets str
- Deployment secrets
- type String
- Federation Type
- parameters String
- Deployment Parameters
- secrets String
- Deployment secrets
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:ObservabilityService observabilityService1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobilePacketCore/observabilityServices/{observabilityServiceName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0