Strata Cloud Manager v0.1.4 published on Tuesday, Sep 24, 2024 by Pulumi
scm.getQosProfile
Explore with Pulumi AI
Retrieves a config item.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const example = scm.getQosProfile({
id: "1234-56-789",
});
import pulumi
import pulumi_scm as scm
example = scm.get_qos_profile(id="1234-56-789")
package main
import (
"github.com/pulumi/pulumi-scm/sdk/go/scm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := scm.LookupQosProfile(ctx, &scm.LookupQosProfileArgs{
Id: "1234-56-789",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var example = Scm.GetQosProfile.Invoke(new()
{
Id = "1234-56-789",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.ScmFunctions;
import com.pulumi.scm.inputs.GetQosProfileArgs;
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) {
final var example = ScmFunctions.getQosProfile(GetQosProfileArgs.builder()
.id("1234-56-789")
.build());
}
}
variables:
example:
fn::invoke:
Function: scm:getQosProfile
Arguments:
id: 1234-56-789
Using getQosProfile
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getQosProfile(args: GetQosProfileArgs, opts?: InvokeOptions): Promise<GetQosProfileResult>
function getQosProfileOutput(args: GetQosProfileOutputArgs, opts?: InvokeOptions): Output<GetQosProfileResult>
def get_qos_profile(folder: Optional[str] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetQosProfileResult
def get_qos_profile_output(folder: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetQosProfileResult]
func LookupQosProfile(ctx *Context, args *LookupQosProfileArgs, opts ...InvokeOption) (*LookupQosProfileResult, error)
func LookupQosProfileOutput(ctx *Context, args *LookupQosProfileOutputArgs, opts ...InvokeOption) LookupQosProfileResultOutput
> Note: This function is named LookupQosProfile
in the Go SDK.
public static class GetQosProfile
{
public static Task<GetQosProfileResult> InvokeAsync(GetQosProfileArgs args, InvokeOptions? opts = null)
public static Output<GetQosProfileResult> Invoke(GetQosProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetQosProfileResult> getQosProfile(GetQosProfileArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: scm:index/getQosProfile:getQosProfile
arguments:
# arguments dictionary
The following arguments are supported:
getQosProfile Result
The following output properties are available:
- Aggregate
Bandwidth GetQos Profile Aggregate Bandwidth - The AggregateBandwidth param.
- Class
Bandwidth GetType Qos Profile Class Bandwidth Type - The ClassBandwidthType param.
- Id string
- The Id param.
- Name string
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 31 characters.
- Tfid string
- Folder string
- The Folder param.
- Aggregate
Bandwidth GetQos Profile Aggregate Bandwidth - The AggregateBandwidth param.
- Class
Bandwidth GetType Qos Profile Class Bandwidth Type - The ClassBandwidthType param.
- Id string
- The Id param.
- Name string
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 31 characters.
- Tfid string
- Folder string
- The Folder param.
- aggregate
Bandwidth GetQos Profile Aggregate Bandwidth - The AggregateBandwidth param.
- class
Bandwidth GetType Qos Profile Class Bandwidth Type - The ClassBandwidthType param.
- id String
- The Id param.
- name String
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 31 characters.
- tfid String
- folder String
- The Folder param.
- aggregate
Bandwidth GetQos Profile Aggregate Bandwidth - The AggregateBandwidth param.
- class
Bandwidth GetType Qos Profile Class Bandwidth Type - The ClassBandwidthType param.
- id string
- The Id param.
- name string
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 31 characters.
- tfid string
- folder string
- The Folder param.
- aggregate_
bandwidth GetQos Profile Aggregate Bandwidth - The AggregateBandwidth param.
- class_
bandwidth_ Gettype Qos Profile Class Bandwidth Type - The ClassBandwidthType param.
- id str
- The Id param.
- name str
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 31 characters.
- tfid str
- folder str
- The Folder param.
- aggregate
Bandwidth Property Map - The AggregateBandwidth param.
- class
Bandwidth Property MapType - The ClassBandwidthType param.
- id String
- The Id param.
- name String
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 31 characters.
- tfid String
- folder String
- The Folder param.
Supporting Types
GetQosProfileAggregateBandwidth
- Egress
Guaranteed int - guaranteed sending bandwidth in mbps. Value must be between 0 and 16000.
- Egress
Max int - max sending bandwidth in mbps. Value must be between 0 and 60000.
- Egress
Guaranteed int - guaranteed sending bandwidth in mbps. Value must be between 0 and 16000.
- Egress
Max int - max sending bandwidth in mbps. Value must be between 0 and 60000.
- egress
Guaranteed Integer - guaranteed sending bandwidth in mbps. Value must be between 0 and 16000.
- egress
Max Integer - max sending bandwidth in mbps. Value must be between 0 and 60000.
- egress
Guaranteed number - guaranteed sending bandwidth in mbps. Value must be between 0 and 16000.
- egress
Max number - max sending bandwidth in mbps. Value must be between 0 and 60000.
- egress_
guaranteed int - guaranteed sending bandwidth in mbps. Value must be between 0 and 16000.
- egress_
max int - max sending bandwidth in mbps. Value must be between 0 and 60000.
- egress
Guaranteed Number - guaranteed sending bandwidth in mbps. Value must be between 0 and 16000.
- egress
Max Number - max sending bandwidth in mbps. Value must be between 0 and 60000.
GetQosProfileClassBandwidthType
- Mbps
Get
Qos Profile Class Bandwidth Type Mbps - The Mbps param.
- Percentage
Get
Qos Profile Class Bandwidth Type Percentage - The Percentage param.
- Mbps
Get
Qos Profile Class Bandwidth Type Mbps - The Mbps param.
- Percentage
Get
Qos Profile Class Bandwidth Type Percentage - The Percentage param.
- mbps
Get
Qos Profile Class Bandwidth Type Mbps - The Mbps param.
- percentage
Get
Qos Profile Class Bandwidth Type Percentage - The Percentage param.
- mbps
Get
Qos Profile Class Bandwidth Type Mbps - The Mbps param.
- percentage
Get
Qos Profile Class Bandwidth Type Percentage - The Percentage param.
- mbps
Get
Qos Profile Class Bandwidth Type Mbps - The Mbps param.
- percentage
Get
Qos Profile Class Bandwidth Type Percentage - The Percentage param.
- mbps Property Map
- The Mbps param.
- percentage Property Map
- The Percentage param.
GetQosProfileClassBandwidthTypeMbps
- Classes
List<Get
Qos Profile Class Bandwidth Type Mbps Class> - QoS setting for traffic classes.
- Classes
[]Get
Qos Profile Class Bandwidth Type Mbps Class - QoS setting for traffic classes.
- classes
List<Get
Qos Profile Class Bandwidth Type Mbps Class> - QoS setting for traffic classes.
- classes
Get
Qos Profile Class Bandwidth Type Mbps Class[] - QoS setting for traffic classes.
- classes
Sequence[Get
Qos Profile Class Bandwidth Type Mbps Class] - QoS setting for traffic classes.
- classes List<Property Map>
- QoS setting for traffic classes.
GetQosProfileClassBandwidthTypeMbpsClass
- Class
Bandwidth GetQos Profile Class Bandwidth Type Mbps Class Class Bandwidth - The ClassBandwidth param.
- Name string
- Traffic class. String length must not exceed 31 characters.
- Priority string
- traffic class priority. String must be one of these:
"real-time"
,"high"
,"medium"
,"low"
. Default:"medium"
.
- Class
Bandwidth GetQos Profile Class Bandwidth Type Mbps Class Class Bandwidth - The ClassBandwidth param.
- Name string
- Traffic class. String length must not exceed 31 characters.
- Priority string
- traffic class priority. String must be one of these:
"real-time"
,"high"
,"medium"
,"low"
. Default:"medium"
.
- class
Bandwidth GetQos Profile Class Bandwidth Type Mbps Class Class Bandwidth - The ClassBandwidth param.
- name String
- Traffic class. String length must not exceed 31 characters.
- priority String
- traffic class priority. String must be one of these:
"real-time"
,"high"
,"medium"
,"low"
. Default:"medium"
.
- class
Bandwidth GetQos Profile Class Bandwidth Type Mbps Class Class Bandwidth - The ClassBandwidth param.
- name string
- Traffic class. String length must not exceed 31 characters.
- priority string
- traffic class priority. String must be one of these:
"real-time"
,"high"
,"medium"
,"low"
. Default:"medium"
.
- class_
bandwidth GetQos Profile Class Bandwidth Type Mbps Class Class Bandwidth - The ClassBandwidth param.
- name str
- Traffic class. String length must not exceed 31 characters.
- priority str
- traffic class priority. String must be one of these:
"real-time"
,"high"
,"medium"
,"low"
. Default:"medium"
.
- class
Bandwidth Property Map - The ClassBandwidth param.
- name String
- Traffic class. String length must not exceed 31 characters.
- priority String
- traffic class priority. String must be one of these:
"real-time"
,"high"
,"medium"
,"low"
. Default:"medium"
.
GetQosProfileClassBandwidthTypeMbpsClassClassBandwidth
- Egress
Guaranteed int - guaranteed sending bandwidth in mbps. Value must be between 0 and 60000.
- Egress
Max int - max sending bandwidth in mbps. Value must be between 0 and 60000.
- Egress
Guaranteed int - guaranteed sending bandwidth in mbps. Value must be between 0 and 60000.
- Egress
Max int - max sending bandwidth in mbps. Value must be between 0 and 60000.
- egress
Guaranteed Integer - guaranteed sending bandwidth in mbps. Value must be between 0 and 60000.
- egress
Max Integer - max sending bandwidth in mbps. Value must be between 0 and 60000.
- egress
Guaranteed number - guaranteed sending bandwidth in mbps. Value must be between 0 and 60000.
- egress
Max number - max sending bandwidth in mbps. Value must be between 0 and 60000.
- egress_
guaranteed int - guaranteed sending bandwidth in mbps. Value must be between 0 and 60000.
- egress_
max int - max sending bandwidth in mbps. Value must be between 0 and 60000.
- egress
Guaranteed Number - guaranteed sending bandwidth in mbps. Value must be between 0 and 60000.
- egress
Max Number - max sending bandwidth in mbps. Value must be between 0 and 60000.
GetQosProfileClassBandwidthTypePercentage
- Classes
List<Get
Qos Profile Class Bandwidth Type Percentage Class> - QoS setting for traffic classes.
- Classes
[]Get
Qos Profile Class Bandwidth Type Percentage Class - QoS setting for traffic classes.
- classes
List<Get
Qos Profile Class Bandwidth Type Percentage Class> - QoS setting for traffic classes.
- classes
Get
Qos Profile Class Bandwidth Type Percentage Class[] - QoS setting for traffic classes.
- classes
Sequence[Get
Qos Profile Class Bandwidth Type Percentage Class] - QoS setting for traffic classes.
- classes List<Property Map>
- QoS setting for traffic classes.
GetQosProfileClassBandwidthTypePercentageClass
- Class
Bandwidth GetQos Profile Class Bandwidth Type Percentage Class Class Bandwidth - The ClassBandwidth param.
- Name string
- Traffic class. String length must not exceed 31 characters.
- Priority string
- traffic class priority. String must be one of these:
"real-time"
,"high"
,"medium"
,"low"
. Default:"medium"
.
- Class
Bandwidth GetQos Profile Class Bandwidth Type Percentage Class Class Bandwidth - The ClassBandwidth param.
- Name string
- Traffic class. String length must not exceed 31 characters.
- Priority string
- traffic class priority. String must be one of these:
"real-time"
,"high"
,"medium"
,"low"
. Default:"medium"
.
- class
Bandwidth GetQos Profile Class Bandwidth Type Percentage Class Class Bandwidth - The ClassBandwidth param.
- name String
- Traffic class. String length must not exceed 31 characters.
- priority String
- traffic class priority. String must be one of these:
"real-time"
,"high"
,"medium"
,"low"
. Default:"medium"
.
- class
Bandwidth GetQos Profile Class Bandwidth Type Percentage Class Class Bandwidth - The ClassBandwidth param.
- name string
- Traffic class. String length must not exceed 31 characters.
- priority string
- traffic class priority. String must be one of these:
"real-time"
,"high"
,"medium"
,"low"
. Default:"medium"
.
- class_
bandwidth GetQos Profile Class Bandwidth Type Percentage Class Class Bandwidth - The ClassBandwidth param.
- name str
- Traffic class. String length must not exceed 31 characters.
- priority str
- traffic class priority. String must be one of these:
"real-time"
,"high"
,"medium"
,"low"
. Default:"medium"
.
- class
Bandwidth Property Map - The ClassBandwidth param.
- name String
- Traffic class. String length must not exceed 31 characters.
- priority String
- traffic class priority. String must be one of these:
"real-time"
,"high"
,"medium"
,"low"
. Default:"medium"
.
GetQosProfileClassBandwidthTypePercentageClassClassBandwidth
- Egress
Guaranteed int - guaranteed sending bandwidth in percentage. Value must be between 0 and 100.
- Egress
Max int - max sending bandwidth in percentage. Value must be between 0 and 100.
- Egress
Guaranteed int - guaranteed sending bandwidth in percentage. Value must be between 0 and 100.
- Egress
Max int - max sending bandwidth in percentage. Value must be between 0 and 100.
- egress
Guaranteed Integer - guaranteed sending bandwidth in percentage. Value must be between 0 and 100.
- egress
Max Integer - max sending bandwidth in percentage. Value must be between 0 and 100.
- egress
Guaranteed number - guaranteed sending bandwidth in percentage. Value must be between 0 and 100.
- egress
Max number - max sending bandwidth in percentage. Value must be between 0 and 100.
- egress_
guaranteed int - guaranteed sending bandwidth in percentage. Value must be between 0 and 100.
- egress_
max int - max sending bandwidth in percentage. Value must be between 0 and 100.
- egress
Guaranteed Number - guaranteed sending bandwidth in percentage. Value must be between 0 and 100.
- egress
Max Number - max sending bandwidth in percentage. Value must be between 0 and 100.
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scm
Terraform Provider.