Udostępnij za pośrednictwem


MockableArcScVmmSubscriptionResource Class

Definition

A class to add extension methods to SubscriptionResource.

public class MockableArcScVmmSubscriptionResource : Azure.ResourceManager.ArmResource
type MockableArcScVmmSubscriptionResource = class
    inherit ArmResource
Public Class MockableArcScVmmSubscriptionResource
Inherits ArmResource
Inheritance
MockableArcScVmmSubscriptionResource

Constructors

MockableArcScVmmSubscriptionResource()

Initializes a new instance of the MockableArcScVmmSubscriptionResource class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmResource)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmResource)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmResource)
Id

Gets the resource identifier.

(Inherited from ArmResource)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmResource)

Methods

CanUseTagResource(CancellationToken)

Checks to see if the TagResource API is deployed in the current environment.

(Inherited from ArmResource)
CanUseTagResourceAsync(CancellationToken)

Checks to see if the TagResource API is deployed in the current environment.

(Inherited from ArmResource)
GetAvailableLocations(CancellationToken)

Lists all available geo-locations.

(Inherited from ArmResource)
GetAvailableLocationsAsync(CancellationToken)

Lists all available geo-locations.

(Inherited from ArmResource)
GetManagementLock(String, CancellationToken)

Get a management lock by scope.

  • Request Path: /{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • Operation Id: ManagementLocks_GetByScope
  • Default Api Version: 2020-05-01
  • Resource: ManagementLockResource
(Inherited from ArmResource)
GetManagementLockAsync(String, CancellationToken)

Get a management lock by scope.

  • Request Path: /{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • Operation Id: ManagementLocks_GetByScope
  • Default Api Version: 2020-05-01
  • Resource: ManagementLockResource
(Inherited from ArmResource)
GetManagementLocks()

Gets a collection of ManagementLockResources in the ArmResource.

(Inherited from ArmResource)
GetPolicyAssignment(String, CancellationToken)

This operation retrieves a single policy assignment, given its name and the scope it was created at.

  • Request Path: /{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • Operation Id: PolicyAssignments_Get
  • Default Api Version: 2022-06-01
  • Resource: PolicyAssignmentResource
(Inherited from ArmResource)
GetPolicyAssignmentAsync(String, CancellationToken)

This operation retrieves a single policy assignment, given its name and the scope it was created at.

  • Request Path: /{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • Operation Id: PolicyAssignments_Get
  • Default Api Version: 2022-06-01
  • Resource: PolicyAssignmentResource
(Inherited from ArmResource)
GetPolicyAssignments()

Gets a collection of PolicyAssignmentResources in the ArmResource.

(Inherited from ArmResource)
GetScVmmAvailabilitySets(CancellationToken)

List of AvailabilitySets in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/availabilitySets
  • Operation Id: AvailabilitySets_ListBySubscription
GetScVmmAvailabilitySetsAsync(CancellationToken)

List of AvailabilitySets in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/availabilitySets
  • Operation Id: AvailabilitySets_ListBySubscription
GetScVmmClouds(CancellationToken)

List of Clouds in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/clouds
  • Operation Id: Clouds_ListBySubscription
GetScVmmCloudsAsync(CancellationToken)

List of Clouds in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/clouds
  • Operation Id: Clouds_ListBySubscription
GetScVmmServers(CancellationToken)

List of VmmServers in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/vmmServers
  • Operation Id: VmmServers_ListBySubscription
GetScVmmServersAsync(CancellationToken)

List of VmmServers in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/vmmServers
  • Operation Id: VmmServers_ListBySubscription
GetScVmmVirtualMachines(CancellationToken)

List of VirtualMachines in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachines
  • Operation Id: VirtualMachines_ListBySubscription
GetScVmmVirtualMachinesAsync(CancellationToken)

List of VirtualMachines in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachines
  • Operation Id: VirtualMachines_ListBySubscription
GetScVmmVirtualMachineTemplates(CancellationToken)

List of VirtualMachineTemplates in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachineTemplates
  • Operation Id: VirtualMachineTemplates_ListBySubscription
GetScVmmVirtualMachineTemplatesAsync(CancellationToken)

List of VirtualMachineTemplates in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachineTemplates
  • Operation Id: VirtualMachineTemplates_ListBySubscription
GetScVmmVirtualNetworks(CancellationToken)

List of VirtualNetworks in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualNetworks
  • Operation Id: VirtualNetworks_ListBySubscription
GetScVmmVirtualNetworksAsync(CancellationToken)

List of VirtualNetworks in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualNetworks
  • Operation Id: VirtualNetworks_ListBySubscription
GetTagResource()

Gets an object representing a TagResource along with the instance operations that can be performed on it in the ArmResource.

(Inherited from ArmResource)
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmResource)

Applies to