Class NetworkFeaturesResource
A Class representing a NetworkFeatures along with the instance operations that can be performed on it. If you have a Azure.Core.ResourceIdentifier you can construct a NetworkFeaturesResource from an instance of Azure.ResourceManager.ArmClient using the GetNetworkFeaturesResource method. Otherwise you can get one from its parent resource SiteSlotResource using the GetNetworkFeatures method.
Inheritance
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.AppService.dll
Syntax
public class NetworkFeaturesResource : Azure.ResourceManager.ArmResource
Constructors
NetworkFeaturesResource()
Initializes a new instance of the NetworkFeaturesResource class for mocking.
Declaration
protected NetworkFeaturesResource ();
Fields
ResourceType
Gets the resource type for the operations.
Declaration
public static readonly Azure.Core.ResourceType ResourceType;
Field Value
Azure.Core.ResourceType
|
Properties
Data
Gets the data representing this Feature.
Declaration
public virtual Azure.ResourceManager.AppService.NetworkFeaturesData Data { get; }
Property Value
NetworkFeaturesData
|
Exceptions
System.InvalidOperationException
Throws if there is no data loaded in the current instance. |
HasData
Gets whether or not the current instance has data.
Declaration
public virtual bool HasData { get; }
Property Value
System.Boolean
|
Methods
CreateResourceIdentifier(String, String, String, String, String)
Generate the resource identifier of a NetworkFeaturesResource instance.
Declaration
public static Azure.Core.ResourceIdentifier CreateResourceIdentifier (string subscriptionId, string resourceGroupName, string name, string slot, string view);
Parameters
System.String
subscriptionId
|
System.String
resourceGroupName
|
System.String
name
|
System.String
slot
|
System.String
view
|
Returns
Azure.Core.ResourceIdentifier
|
Get(CancellationToken)
Description for Gets all network features used by the app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkFeatures/{view} Operation Id: WebApps_ListNetworkFeaturesSlot
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.NetworkFeaturesResource> Get (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<NetworkFeaturesResource>
|
GetAsync(CancellationToken)
Description for Gets all network features used by the app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkFeatures/{view} Operation Id: WebApps_ListNetworkFeaturesSlot
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.NetworkFeaturesResource>> GetAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<NetworkFeaturesResource>>
|