1. Packages
  2. Azure Native
  3. API Docs
  4. media
  5. listMediaServiceEdgePolicies
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.media.listMediaServiceEdgePolicies

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 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>
    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]
    func ListMediaServiceEdgePolicies(ctx *Context, args *ListMediaServiceEdgePoliciesArgs, opts ...InvokeOption) (*ListMediaServiceEdgePoliciesResult, error)
    func ListMediaServiceEdgePoliciesOutput(ctx *Context, args *ListMediaServiceEdgePoliciesOutputArgs, opts ...InvokeOption) ListMediaServiceEdgePoliciesResultOutput

    > 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)
    }
    public static CompletableFuture<ListMediaServiceEdgePoliciesResult> listMediaServiceEdgePolicies(ListMediaServiceEdgePoliciesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:media:listMediaServiceEdgePolicies
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountName string
    The Media Services account name.
    ResourceGroupName string
    The name of the resource group within the Azure subscription.
    DeviceId string
    Unique identifier of the edge device.
    AccountName string
    The Media Services account name.
    ResourceGroupName string
    The name of the resource group within the Azure subscription.
    DeviceId string
    Unique identifier of the edge device.
    accountName String
    The Media Services account name.
    resourceGroupName String
    The name of the resource group within the Azure subscription.
    deviceId String
    Unique identifier of the edge device.
    accountName string
    The Media Services account name.
    resourceGroupName string
    The name of the resource group within the Azure subscription.
    deviceId string
    Unique identifier of the edge device.
    account_name str
    The Media Services account name.
    resource_group_name str
    The name of the resource group within the Azure subscription.
    device_id str
    Unique identifier of the edge device.
    accountName String
    The Media Services account name.
    resourceGroupName 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 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi