@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.13 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a DSCP Configuration.
*
* Uses Azure REST API version 2024-05-01.
*
* Other available API versions: 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native network [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getDscpConfiguration(args: GetDscpConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetDscpConfigurationResult>;
export interface GetDscpConfigurationArgs {
/**
* The name of the resource.
*/
dscpConfigurationName: string;
/**
* The name of the resource group.
*/
resourceGroupName: string;
}
/**
* Differentiated Services Code Point configuration for any given network interface
*/
export interface GetDscpConfigurationResult {
/**
* Associated Network Interfaces to the DSCP Configuration.
*/
readonly associatedNetworkInterfaces: outputs.network.NetworkInterfaceResponse[];
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Destination IP ranges.
*/
readonly destinationIpRanges?: outputs.network.QosIpRangeResponse[];
/**
* Destination port ranges.
*/
readonly destinationPortRanges?: outputs.network.QosPortRangeResponse[];
/**
* A unique read-only string that changes whenever the resource is updated.
*/
readonly etag: string;
/**
* Resource ID.
*/
readonly id?: string;
/**
* Resource location.
*/
readonly location?: string;
/**
* List of markings to be used in the configuration.
*/
readonly markings?: number[];
/**
* Resource name.
*/
readonly name: string;
/**
* RNM supported protocol types.
*/
readonly protocol?: string;
/**
* The provisioning state of the DSCP Configuration resource.
*/
readonly provisioningState: string;
/**
* Qos Collection ID generated by RNM.
*/
readonly qosCollectionId: string;
/**
* QoS object definitions
*/
readonly qosDefinitionCollection?: outputs.network.QosDefinitionResponse[];
/**
* The resource GUID property of the DSCP Configuration resource.
*/
readonly resourceGuid: string;
/**
* Source IP ranges.
*/
readonly sourceIpRanges?: outputs.network.QosIpRangeResponse[];
/**
* Sources port ranges.
*/
readonly sourcePortRanges?: outputs.network.QosPortRangeResponse[];
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* Resource type.
*/
readonly type: string;
}
/**
* Gets a DSCP Configuration.
*
* Uses Azure REST API version 2024-05-01.
*
* Other available API versions: 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native network [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getDscpConfigurationOutput(args: GetDscpConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDscpConfigurationResult>;
export interface GetDscpConfigurationOutputArgs {
/**
* The name of the resource.
*/
dscpConfigurationName: pulumi.Input<string>;
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
}