1. Packages
  2. Azure Native v1
  3. API Docs
  4. network
  5. getNetworkWatcher
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.network.getNetworkWatcher

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Gets the specified network watcher by resource group. API Version: 2020-11-01.

    Using getNetworkWatcher

    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 getNetworkWatcher(args: GetNetworkWatcherArgs, opts?: InvokeOptions): Promise<GetNetworkWatcherResult>
    function getNetworkWatcherOutput(args: GetNetworkWatcherOutputArgs, opts?: InvokeOptions): Output<GetNetworkWatcherResult>
    def get_network_watcher(network_watcher_name: Optional[str] = None,
                            resource_group_name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetNetworkWatcherResult
    def get_network_watcher_output(network_watcher_name: Optional[pulumi.Input[str]] = None,
                            resource_group_name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetNetworkWatcherResult]
    func LookupNetworkWatcher(ctx *Context, args *LookupNetworkWatcherArgs, opts ...InvokeOption) (*LookupNetworkWatcherResult, error)
    func LookupNetworkWatcherOutput(ctx *Context, args *LookupNetworkWatcherOutputArgs, opts ...InvokeOption) LookupNetworkWatcherResultOutput

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

    public static class GetNetworkWatcher 
    {
        public static Task<GetNetworkWatcherResult> InvokeAsync(GetNetworkWatcherArgs args, InvokeOptions? opts = null)
        public static Output<GetNetworkWatcherResult> Invoke(GetNetworkWatcherInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNetworkWatcherResult> getNetworkWatcher(GetNetworkWatcherArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:network:getNetworkWatcher
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NetworkWatcherName string
    The name of the network watcher.
    ResourceGroupName string
    The name of the resource group.
    NetworkWatcherName string
    The name of the network watcher.
    ResourceGroupName string
    The name of the resource group.
    networkWatcherName String
    The name of the network watcher.
    resourceGroupName String
    The name of the resource group.
    networkWatcherName string
    The name of the network watcher.
    resourceGroupName string
    The name of the resource group.
    network_watcher_name str
    The name of the network watcher.
    resource_group_name str
    The name of the resource group.
    networkWatcherName String
    The name of the network watcher.
    resourceGroupName String
    The name of the resource group.

    getNetworkWatcher Result

    The following output properties are available:

    Etag string
    A unique read-only string that changes whenever the resource is updated.
    Name string
    Resource name.
    ProvisioningState string
    The provisioning state of the network watcher resource.
    Type string
    Resource type.
    Id string
    Resource ID.
    Location string
    Resource location.
    Tags Dictionary<string, string>
    Resource tags.
    Etag string
    A unique read-only string that changes whenever the resource is updated.
    Name string
    Resource name.
    ProvisioningState string
    The provisioning state of the network watcher resource.
    Type string
    Resource type.
    Id string
    Resource ID.
    Location string
    Resource location.
    Tags map[string]string
    Resource tags.
    etag String
    A unique read-only string that changes whenever the resource is updated.
    name String
    Resource name.
    provisioningState String
    The provisioning state of the network watcher resource.
    type String
    Resource type.
    id String
    Resource ID.
    location String
    Resource location.
    tags Map<String,String>
    Resource tags.
    etag string
    A unique read-only string that changes whenever the resource is updated.
    name string
    Resource name.
    provisioningState string
    The provisioning state of the network watcher resource.
    type string
    Resource type.
    id string
    Resource ID.
    location string
    Resource location.
    tags {[key: string]: string}
    Resource tags.
    etag str
    A unique read-only string that changes whenever the resource is updated.
    name str
    Resource name.
    provisioning_state str
    The provisioning state of the network watcher resource.
    type str
    Resource type.
    id str
    Resource ID.
    location str
    Resource location.
    tags Mapping[str, str]
    Resource tags.
    etag String
    A unique read-only string that changes whenever the resource is updated.
    name String
    Resource name.
    provisioningState String
    The provisioning state of the network watcher resource.
    type String
    Resource type.
    id String
    Resource ID.
    location String
    Resource location.
    tags Map<String>
    Resource tags.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi