meraki.organizations.InsightMonitoredMediaServers
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";
const example = new meraki.organizations.InsightMonitoredMediaServers("example", {
address: "123.123.123.1",
bestEffortMonitoringEnabled: true,
name: "Sample VoIP Provider",
organizationId: "string",
});
export const merakiOrganizationsInsightMonitoredMediaServersExample = example;
import pulumi
import pulumi_meraki as meraki
example = meraki.organizations.InsightMonitoredMediaServers("example",
address="123.123.123.1",
best_effort_monitoring_enabled=True,
name="Sample VoIP Provider",
organization_id="string")
pulumi.export("merakiOrganizationsInsightMonitoredMediaServersExample", example)
package main
import (
"github.com/pulumi/pulumi-meraki/sdk/go/meraki/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := organizations.NewInsightMonitoredMediaServers(ctx, "example", &organizations.InsightMonitoredMediaServersArgs{
Address: pulumi.String("123.123.123.1"),
BestEffortMonitoringEnabled: pulumi.Bool(true),
Name: pulumi.String("Sample VoIP Provider"),
OrganizationId: pulumi.String("string"),
})
if err != nil {
return err
}
ctx.Export("merakiOrganizationsInsightMonitoredMediaServersExample", example)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;
return await Deployment.RunAsync(() =>
{
var example = new Meraki.Organizations.InsightMonitoredMediaServers("example", new()
{
Address = "123.123.123.1",
BestEffortMonitoringEnabled = true,
Name = "Sample VoIP Provider",
OrganizationId = "string",
});
return new Dictionary<string, object?>
{
["merakiOrganizationsInsightMonitoredMediaServersExample"] = example,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.organizations.InsightMonitoredMediaServers;
import com.pulumi.meraki.organizations.InsightMonitoredMediaServersArgs;
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 example = new InsightMonitoredMediaServers("example", InsightMonitoredMediaServersArgs.builder()
.address("123.123.123.1")
.bestEffortMonitoringEnabled(true)
.name("Sample VoIP Provider")
.organizationId("string")
.build());
ctx.export("merakiOrganizationsInsightMonitoredMediaServersExample", example);
}
}
resources:
example:
type: meraki:organizations:InsightMonitoredMediaServers
properties:
address: 123.123.123.1
bestEffortMonitoringEnabled: true
name: Sample VoIP Provider
organizationId: string
outputs:
merakiOrganizationsInsightMonitoredMediaServersExample: ${example}
Create InsightMonitoredMediaServers Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InsightMonitoredMediaServers(name: string, args: InsightMonitoredMediaServersArgs, opts?: CustomResourceOptions);
@overload
def InsightMonitoredMediaServers(resource_name: str,
args: InsightMonitoredMediaServersArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InsightMonitoredMediaServers(resource_name: str,
opts: Optional[ResourceOptions] = None,
organization_id: Optional[str] = None,
address: Optional[str] = None,
best_effort_monitoring_enabled: Optional[bool] = None,
monitored_media_server_id: Optional[str] = None,
name: Optional[str] = None)
func NewInsightMonitoredMediaServers(ctx *Context, name string, args InsightMonitoredMediaServersArgs, opts ...ResourceOption) (*InsightMonitoredMediaServers, error)
public InsightMonitoredMediaServers(string name, InsightMonitoredMediaServersArgs args, CustomResourceOptions? opts = null)
public InsightMonitoredMediaServers(String name, InsightMonitoredMediaServersArgs args)
public InsightMonitoredMediaServers(String name, InsightMonitoredMediaServersArgs args, CustomResourceOptions options)
type: meraki:organizations:InsightMonitoredMediaServers
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 InsightMonitoredMediaServersArgs
- 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 InsightMonitoredMediaServersArgs
- 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 InsightMonitoredMediaServersArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InsightMonitoredMediaServersArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InsightMonitoredMediaServersArgs
- 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 insightMonitoredMediaServersResource = new Meraki.Organizations.InsightMonitoredMediaServers("insightMonitoredMediaServersResource", new()
{
OrganizationId = "string",
Address = "string",
BestEffortMonitoringEnabled = false,
MonitoredMediaServerId = "string",
Name = "string",
});
example, err := organizations.NewInsightMonitoredMediaServers(ctx, "insightMonitoredMediaServersResource", &organizations.InsightMonitoredMediaServersArgs{
OrganizationId: pulumi.String("string"),
Address: pulumi.String("string"),
BestEffortMonitoringEnabled: pulumi.Bool(false),
MonitoredMediaServerId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var insightMonitoredMediaServersResource = new InsightMonitoredMediaServers("insightMonitoredMediaServersResource", InsightMonitoredMediaServersArgs.builder()
.organizationId("string")
.address("string")
.bestEffortMonitoringEnabled(false)
.monitoredMediaServerId("string")
.name("string")
.build());
insight_monitored_media_servers_resource = meraki.organizations.InsightMonitoredMediaServers("insightMonitoredMediaServersResource",
organization_id="string",
address="string",
best_effort_monitoring_enabled=False,
monitored_media_server_id="string",
name="string")
const insightMonitoredMediaServersResource = new meraki.organizations.InsightMonitoredMediaServers("insightMonitoredMediaServersResource", {
organizationId: "string",
address: "string",
bestEffortMonitoringEnabled: false,
monitoredMediaServerId: "string",
name: "string",
});
type: meraki:organizations:InsightMonitoredMediaServers
properties:
address: string
bestEffortMonitoringEnabled: false
monitoredMediaServerId: string
name: string
organizationId: string
InsightMonitoredMediaServers 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 InsightMonitoredMediaServers resource accepts the following input properties:
- Organization
Id string - organizationId path parameter. Organization ID
- Address string
- The IP address (IPv4 only) or hostname of the media server to monitor
- Best
Effort boolMonitoring Enabled - Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead
- Monitored
Media stringServer Id - monitoredMediaServerId path parameter. Monitored media server ID
- Name string
- The name of the VoIP provider
- Organization
Id string - organizationId path parameter. Organization ID
- Address string
- The IP address (IPv4 only) or hostname of the media server to monitor
- Best
Effort boolMonitoring Enabled - Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead
- Monitored
Media stringServer Id - monitoredMediaServerId path parameter. Monitored media server ID
- Name string
- The name of the VoIP provider
- organization
Id String - organizationId path parameter. Organization ID
- address String
- The IP address (IPv4 only) or hostname of the media server to monitor
- best
Effort BooleanMonitoring Enabled - Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead
- monitored
Media StringServer Id - monitoredMediaServerId path parameter. Monitored media server ID
- name String
- The name of the VoIP provider
- organization
Id string - organizationId path parameter. Organization ID
- address string
- The IP address (IPv4 only) or hostname of the media server to monitor
- best
Effort booleanMonitoring Enabled - Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead
- monitored
Media stringServer Id - monitoredMediaServerId path parameter. Monitored media server ID
- name string
- The name of the VoIP provider
- organization_
id str - organizationId path parameter. Organization ID
- address str
- The IP address (IPv4 only) or hostname of the media server to monitor
- best_
effort_ boolmonitoring_ enabled - Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead
- monitored_
media_ strserver_ id - monitoredMediaServerId path parameter. Monitored media server ID
- name str
- The name of the VoIP provider
- organization
Id String - organizationId path parameter. Organization ID
- address String
- The IP address (IPv4 only) or hostname of the media server to monitor
- best
Effort BooleanMonitoring Enabled - Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead
- monitored
Media StringServer Id - monitoredMediaServerId path parameter. Monitored media server ID
- name String
- The name of the VoIP provider
Outputs
All input properties are implicitly available as output properties. Additionally, the InsightMonitoredMediaServers resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing InsightMonitoredMediaServers Resource
Get an existing InsightMonitoredMediaServers resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: InsightMonitoredMediaServersState, opts?: CustomResourceOptions): InsightMonitoredMediaServers
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
address: Optional[str] = None,
best_effort_monitoring_enabled: Optional[bool] = None,
monitored_media_server_id: Optional[str] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None) -> InsightMonitoredMediaServers
func GetInsightMonitoredMediaServers(ctx *Context, name string, id IDInput, state *InsightMonitoredMediaServersState, opts ...ResourceOption) (*InsightMonitoredMediaServers, error)
public static InsightMonitoredMediaServers Get(string name, Input<string> id, InsightMonitoredMediaServersState? state, CustomResourceOptions? opts = null)
public static InsightMonitoredMediaServers get(String name, Output<String> id, InsightMonitoredMediaServersState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Address string
- The IP address (IPv4 only) or hostname of the media server to monitor
- Best
Effort boolMonitoring Enabled - Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead
- Monitored
Media stringServer Id - monitoredMediaServerId path parameter. Monitored media server ID
- Name string
- The name of the VoIP provider
- Organization
Id string - organizationId path parameter. Organization ID
- Address string
- The IP address (IPv4 only) or hostname of the media server to monitor
- Best
Effort boolMonitoring Enabled - Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead
- Monitored
Media stringServer Id - monitoredMediaServerId path parameter. Monitored media server ID
- Name string
- The name of the VoIP provider
- Organization
Id string - organizationId path parameter. Organization ID
- address String
- The IP address (IPv4 only) or hostname of the media server to monitor
- best
Effort BooleanMonitoring Enabled - Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead
- monitored
Media StringServer Id - monitoredMediaServerId path parameter. Monitored media server ID
- name String
- The name of the VoIP provider
- organization
Id String - organizationId path parameter. Organization ID
- address string
- The IP address (IPv4 only) or hostname of the media server to monitor
- best
Effort booleanMonitoring Enabled - Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead
- monitored
Media stringServer Id - monitoredMediaServerId path parameter. Monitored media server ID
- name string
- The name of the VoIP provider
- organization
Id string - organizationId path parameter. Organization ID
- address str
- The IP address (IPv4 only) or hostname of the media server to monitor
- best_
effort_ boolmonitoring_ enabled - Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead
- monitored_
media_ strserver_ id - monitoredMediaServerId path parameter. Monitored media server ID
- name str
- The name of the VoIP provider
- organization_
id str - organizationId path parameter. Organization ID
- address String
- The IP address (IPv4 only) or hostname of the media server to monitor
- best
Effort BooleanMonitoring Enabled - Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead
- monitored
Media StringServer Id - monitoredMediaServerId path parameter. Monitored media server ID
- name String
- The name of the VoIP provider
- organization
Id String - organizationId path parameter. Organization ID
Import
$ pulumi import meraki:organizations/insightMonitoredMediaServers:InsightMonitoredMediaServers example "monitored_media_server_id,organization_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.