1. Packages
  2. Azure Native v2
  3. API Docs
  4. media
  5. listMediaServiceEdgePolicies
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.media.listMediaServiceEdgePolicies

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

List all the media edge policies associated with the Media Services account. Azure REST API version: 2023-01-01.

Using listMediaServiceEdgePolicies

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 listMediaServiceEdgePolicies(args: ListMediaServiceEdgePoliciesArgs, opts?: InvokeOptions): Promise<ListMediaServiceEdgePoliciesResult>
function listMediaServiceEdgePoliciesOutput(args: ListMediaServiceEdgePoliciesOutputArgs, opts?: InvokeOptions): Output<ListMediaServiceEdgePoliciesResult>
Copy
def list_media_service_edge_policies(account_name: Optional[str] = None,
                                     device_id: Optional[str] = None,
                                     resource_group_name: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> ListMediaServiceEdgePoliciesResult
def list_media_service_edge_policies_output(account_name: Optional[pulumi.Input[str]] = None,
                                     device_id: Optional[pulumi.Input[str]] = None,
                                     resource_group_name: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[ListMediaServiceEdgePoliciesResult]
Copy
func ListMediaServiceEdgePolicies(ctx *Context, args *ListMediaServiceEdgePoliciesArgs, opts ...InvokeOption) (*ListMediaServiceEdgePoliciesResult, error)
func ListMediaServiceEdgePoliciesOutput(ctx *Context, args *ListMediaServiceEdgePoliciesOutputArgs, opts ...InvokeOption) ListMediaServiceEdgePoliciesResultOutput
Copy

> Note: This function is named ListMediaServiceEdgePolicies in the Go SDK.

public static class ListMediaServiceEdgePolicies 
{
    public static Task<ListMediaServiceEdgePoliciesResult> InvokeAsync(ListMediaServiceEdgePoliciesArgs args, InvokeOptions? opts = null)
    public static Output<ListMediaServiceEdgePoliciesResult> Invoke(ListMediaServiceEdgePoliciesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListMediaServiceEdgePoliciesResult> listMediaServiceEdgePolicies(ListMediaServiceEdgePoliciesArgs args, InvokeOptions options)
public static Output<ListMediaServiceEdgePoliciesResult> listMediaServiceEdgePolicies(ListMediaServiceEdgePoliciesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:media:listMediaServiceEdgePolicies
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
The Media Services account name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the Azure subscription.
DeviceId string
Unique identifier of the edge device.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
The Media Services account name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the Azure subscription.
DeviceId string
Unique identifier of the edge device.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The Media Services account name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the Azure subscription.
deviceId String
Unique identifier of the edge device.
accountName
This property is required.
Changes to this property will trigger replacement.
string
The Media Services account name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the Azure subscription.
deviceId string
Unique identifier of the edge device.
account_name
This property is required.
Changes to this property will trigger replacement.
str
The Media Services account name.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group within the Azure subscription.
device_id str
Unique identifier of the edge device.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The Media Services account name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the Azure subscription.
deviceId String
Unique identifier of the edge device.

listMediaServiceEdgePolicies Result

The following output properties are available:

Supporting Types

EdgeUsageDataCollectionPolicyResponse

DataCollectionFrequency string
Usage data collection frequency in ISO 8601 duration format e.g. PT10M , PT5H.
DataReportingFrequency string
Usage data reporting frequency in ISO 8601 duration format e.g. PT10M , PT5H.
EventHubDetails Pulumi.AzureNative.Media.Inputs.EdgeUsageDataEventHubResponse
Details of Event Hub where the usage will be reported.
MaxAllowedUnreportedUsageDuration string
Maximum time for which the functionality of the device will not be hampered for not reporting the usage data.
DataCollectionFrequency string
Usage data collection frequency in ISO 8601 duration format e.g. PT10M , PT5H.
DataReportingFrequency string
Usage data reporting frequency in ISO 8601 duration format e.g. PT10M , PT5H.
EventHubDetails EdgeUsageDataEventHubResponse
Details of Event Hub where the usage will be reported.
MaxAllowedUnreportedUsageDuration string
Maximum time for which the functionality of the device will not be hampered for not reporting the usage data.
dataCollectionFrequency String
Usage data collection frequency in ISO 8601 duration format e.g. PT10M , PT5H.
dataReportingFrequency String
Usage data reporting frequency in ISO 8601 duration format e.g. PT10M , PT5H.
eventHubDetails EdgeUsageDataEventHubResponse
Details of Event Hub where the usage will be reported.
maxAllowedUnreportedUsageDuration String
Maximum time for which the functionality of the device will not be hampered for not reporting the usage data.
dataCollectionFrequency string
Usage data collection frequency in ISO 8601 duration format e.g. PT10M , PT5H.
dataReportingFrequency string
Usage data reporting frequency in ISO 8601 duration format e.g. PT10M , PT5H.
eventHubDetails EdgeUsageDataEventHubResponse
Details of Event Hub where the usage will be reported.
maxAllowedUnreportedUsageDuration string
Maximum time for which the functionality of the device will not be hampered for not reporting the usage data.
data_collection_frequency str
Usage data collection frequency in ISO 8601 duration format e.g. PT10M , PT5H.
data_reporting_frequency str
Usage data reporting frequency in ISO 8601 duration format e.g. PT10M , PT5H.
event_hub_details EdgeUsageDataEventHubResponse
Details of Event Hub where the usage will be reported.
max_allowed_unreported_usage_duration str
Maximum time for which the functionality of the device will not be hampered for not reporting the usage data.
dataCollectionFrequency String
Usage data collection frequency in ISO 8601 duration format e.g. PT10M , PT5H.
dataReportingFrequency String
Usage data reporting frequency in ISO 8601 duration format e.g. PT10M , PT5H.
eventHubDetails Property Map
Details of Event Hub where the usage will be reported.
maxAllowedUnreportedUsageDuration String
Maximum time for which the functionality of the device will not be hampered for not reporting the usage data.

EdgeUsageDataEventHubResponse

Name string
Name of the Event Hub where usage will be reported.
Namespace string
Namespace of the Event Hub where usage will be reported.
Token string
SAS token needed to interact with Event Hub.
Name string
Name of the Event Hub where usage will be reported.
Namespace string
Namespace of the Event Hub where usage will be reported.
Token string
SAS token needed to interact with Event Hub.
name String
Name of the Event Hub where usage will be reported.
namespace String
Namespace of the Event Hub where usage will be reported.
token String
SAS token needed to interact with Event Hub.
name string
Name of the Event Hub where usage will be reported.
namespace string
Namespace of the Event Hub where usage will be reported.
token string
SAS token needed to interact with Event Hub.
name str
Name of the Event Hub where usage will be reported.
namespace str
Namespace of the Event Hub where usage will be reported.
token str
SAS token needed to interact with Event Hub.
name String
Name of the Event Hub where usage will be reported.
namespace String
Namespace of the Event Hub where usage will be reported.
token String
SAS token needed to interact with Event Hub.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi