ArmWebPubSubModelFactory.ResourceLogCategory(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.WebPubSub.Models.ResourceLogCategory ResourceLogCategory(string name = default, string enabled = default);
static member ResourceLogCategory : string * string -> Azure.ResourceManager.WebPubSub.Models.ResourceLogCategory
Public Shared Function ResourceLogCategory (Optional name As String = Nothing, Optional enabled As String = Nothing) As ResourceLogCategory
Parameters
- name
- String
Gets or sets the resource log category's name. Available values: ConnectivityLogs, MessagingLogs. Case insensitive.
- enabled
- String
Indicates whether or the resource log category is enabled. Available values: true, false. Case insensitive.
Returns
A new ResourceLogCategory instance for mocking.