MockableBillingArmClient Class
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.
A class to add extension methods to ArmClient.
public class MockableBillingArmClient : Azure.ResourceManager.ArmResource
type MockableBillingArmClient = class
inherit ArmResource
Public Class MockableBillingArmClient
Inherits ArmResource
- Inheritance
Constructors
MockableBillingArmClient() |
Initializes a new instance of the MockableBillingArmClient 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) |
GetBillingAccountPaymentMethodResource(ResourceIdentifier) |
Gets an object representing a BillingAccountPaymentMethodResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingAccountPaymentMethodResourceResourceIdentifier from its components. |
GetBillingAccountPolicyResource(ResourceIdentifier) |
Gets an object representing a BillingAccountPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a BillingAccountPolicyResourceResourceIdentifier from its components. |
GetBillingAccountResource(ResourceIdentifier) |
Gets an object representing a BillingAccountResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a BillingAccountResourceResourceIdentifier from its components. |
GetBillingAgreementResource(ResourceIdentifier) |
Gets an object representing a BillingAgreementResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingAgreementResourceResourceIdentifier from its components. |
GetBillingAssociatedTenantResource(ResourceIdentifier) |
Gets an object representing a BillingAssociatedTenantResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingAssociatedTenantResourceResourceIdentifier from its components. |
GetBillingCustomerPolicyResource(ResourceIdentifier) |
Gets an object representing a BillingCustomerPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingCustomerPolicyResourceResourceIdentifier from its components. |
GetBillingCustomerResource(ResourceIdentifier) |
Gets an object representing a BillingCustomerResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingCustomerResourceResourceIdentifier from its components. |
GetBillingCustomerRoleAssignmentResource(ResourceIdentifier) |
Gets an object representing a BillingCustomerRoleAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BillingCustomerRoleAssignmentResourceResourceIdentifier from its components. |
GetBillingCustomerRoleDefinitionResource(ResourceIdentifier) |
Gets an object representing a BillingCustomerRoleDefinitionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BillingCustomerRoleDefinitionResourceResourceIdentifier from its components. |
GetBillingDepartmentEnrollmentAccountResource(ResourceIdentifier) |
Gets an object representing a BillingDepartmentEnrollmentAccountResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingDepartmentEnrollmentAccountResourceResourceIdentifier from its components. |
GetBillingDepartmentResource(ResourceIdentifier) |
Gets an object representing a BillingDepartmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingDepartmentResourceResourceIdentifier from its components. |
GetBillingDepartmentRoleAssignmentResource(ResourceIdentifier) |
Gets an object representing a BillingDepartmentRoleAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingDepartmentRoleAssignmentResourceResourceIdentifier from its components. |
GetBillingDepartmentRoleDefinitionResource(ResourceIdentifier) |
Gets an object representing a BillingDepartmentRoleDefinitionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingDepartmentRoleDefinitionResourceResourceIdentifier from its components. |
GetBillingEnrollmentAccountResource(ResourceIdentifier) |
Gets an object representing a BillingEnrollmentAccountResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingEnrollmentAccountResourceResourceIdentifier from its components. |
GetBillingEnrollmentAccountRoleAssignmentResource(ResourceIdentifier) |
Gets an object representing a BillingEnrollmentAccountRoleAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingEnrollmentAccountRoleAssignmentResourceResourceIdentifier from its components. |
GetBillingEnrollmentAccountRoleDefinitionResource(ResourceIdentifier) |
Gets an object representing a BillingEnrollmentAccountRoleDefinitionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingEnrollmentAccountRoleDefinitionResourceResourceIdentifier from its components. |
GetBillingInvoiceResource(ResourceIdentifier) |
Gets an object representing a BillingInvoiceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingInvoiceResourceResourceIdentifier from its components. |
GetBillingInvoiceSectionResource(ResourceIdentifier) |
Gets an object representing a BillingInvoiceSectionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingInvoiceSectionResourceResourceIdentifier from its components. |
GetBillingInvoiceSectionRoleAssignmentResource(ResourceIdentifier) |
Gets an object representing a BillingInvoiceSectionRoleAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BillingInvoiceSectionRoleAssignmentResourceResourceIdentifier from its components. |
GetBillingInvoiceSectionRoleDefinitionResource(ResourceIdentifier) |
Gets an object representing a BillingInvoiceSectionRoleDefinitionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BillingInvoiceSectionRoleDefinitionResourceResourceIdentifier from its components. |
GetBillingPaymentMethodLinkResource(ResourceIdentifier) |
Gets an object representing a BillingPaymentMethodLinkResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingPaymentMethodLinkResourceResourceIdentifier from its components. |
GetBillingPaymentMethodResource(ResourceIdentifier) |
Gets an object representing a BillingPaymentMethodResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a BillingPaymentMethodResourceResourceIdentifier from its components. |
GetBillingProductResource(ResourceIdentifier) |
Gets an object representing a BillingProductResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingProductResourceResourceIdentifier from its components. |
GetBillingProfileCustomerPolicyResource(ResourceIdentifier) |
Gets an object representing a BillingProfileCustomerPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, ServiceDefinedResourceName) to create a BillingProfileCustomerPolicyResourceResourceIdentifier from its components. |
GetBillingProfileCustomerResource(ResourceIdentifier) |
Gets an object representing a BillingProfileCustomerResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingProfileCustomerResourceResourceIdentifier from its components. |
GetBillingProfilePolicyResource(ResourceIdentifier) |
Gets an object representing a BillingProfilePolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingProfilePolicyResourceResourceIdentifier from its components. |
GetBillingProfileResource(ResourceIdentifier) |
Gets an object representing a BillingProfileResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingProfileResourceResourceIdentifier from its components. |
GetBillingProfileRoleAssignmentResource(ResourceIdentifier) |
Gets an object representing a BillingProfileRoleAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingProfileRoleAssignmentResourceResourceIdentifier from its components. |
GetBillingProfileRoleDefinitionResource(ResourceIdentifier) |
Gets an object representing a BillingProfileRoleDefinitionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingProfileRoleDefinitionResourceResourceIdentifier from its components. |
GetBillingProfileSubscriptionResource(ResourceIdentifier) |
Gets an object representing a BillingProfileSubscriptionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingProfileSubscriptionResourceResourceIdentifier from its components. |
GetBillingPropertyResource(ResourceIdentifier) |
Gets an object representing a BillingPropertyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a BillingPropertyResourceResourceIdentifier from its components. |
GetBillingRequestResource(ResourceIdentifier) |
Gets an object representing a BillingRequestResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a BillingRequestResourceResourceIdentifier from its components. |
GetBillingReservationOrderResource(ResourceIdentifier) |
Gets an object representing a BillingReservationOrderResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingReservationOrderResourceResourceIdentifier from its components. |
GetBillingReservationResource(ResourceIdentifier) |
Gets an object representing a BillingReservationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingReservationResourceResourceIdentifier from its components. |
GetBillingRoleAssignmentResource(ResourceIdentifier) |
Gets an object representing a BillingRoleAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingRoleAssignmentResourceResourceIdentifier from its components. |
GetBillingRoleDefinitionResource(ResourceIdentifier) |
Gets an object representing a BillingRoleDefinitionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingRoleDefinitionResourceResourceIdentifier from its components. |
GetBillingSavingsPlanModelResource(ResourceIdentifier) |
Gets an object representing a BillingSavingsPlanModelResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingSavingsPlanModelResourceResourceIdentifier from its components. |
GetBillingSubscriptionAliasResource(ResourceIdentifier) |
Gets an object representing a BillingSubscriptionAliasResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingSubscriptionAliasResourceResourceIdentifier from its components. |
GetBillingSubscriptionResource(ResourceIdentifier) |
Gets an object representing a BillingSubscriptionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingSubscriptionResourceResourceIdentifier from its components. |
GetBillingTransferDetailResource(ResourceIdentifier) |
Gets an object representing a BillingTransferDetailResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BillingTransferDetailResourceResourceIdentifier from its components. |
GetDefaultBillingInvoiceResource(ResourceIdentifier) |
Gets an object representing a DefaultBillingInvoiceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a DefaultBillingInvoiceResourceResourceIdentifier from its components. |
GetManagementLock(String, CancellationToken) |
Get a management lock by scope.
|
GetManagementLockAsync(String, CancellationToken) |
Get a management lock by scope.
|
GetManagementLocks() |
Gets a collection of ManagementLockResources in the ArmResource. (Inherited from ArmResource) |
GetPartnerTransferDetailResource(ResourceIdentifier) |
Gets an object representing a PartnerTransferDetailResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PartnerTransferDetailResourceResourceIdentifier from its components. |
GetPolicyAssignment(String, CancellationToken) |
This operation retrieves a single policy assignment, given its name and the scope it was created at.
|
GetPolicyAssignmentAsync(String, CancellationToken) |
This operation retrieves a single policy assignment, given its name and the scope it was created at.
|
GetPolicyAssignments() |
Gets a collection of PolicyAssignmentResources in the ArmResource. (Inherited from ArmResource) |
GetRecipientTransferDetailResource(ResourceIdentifier) |
Gets an object representing a RecipientTransferDetailResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a RecipientTransferDetailResourceResourceIdentifier from its components. |
GetSavingsPlanOrderModelResource(ResourceIdentifier) |
Gets an object representing a SavingsPlanOrderModelResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SavingsPlanOrderModelResourceResourceIdentifier from its components. |
GetSubscriptionBillingInvoiceResource(ResourceIdentifier) |
Gets an object representing a SubscriptionBillingInvoiceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SubscriptionBillingInvoiceResourceResourceIdentifier from its components. |
GetSubscriptionPolicyResource(ResourceIdentifier) |
Gets an object representing a SubscriptionPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a SubscriptionPolicyResourceResourceIdentifier from its components. |
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) |
Extension Methods
GetAuthorizationRoleDefinition(ArmResource, ResourceIdentifier, CancellationToken) |
Get role definition by name (GUID).
|
GetAuthorizationRoleDefinitionAsync(ArmResource, ResourceIdentifier, CancellationToken) |
Get role definition by name (GUID).
|
GetAuthorizationRoleDefinitions(ArmResource) |
Gets a collection of AuthorizationRoleDefinitionResources in the ArmResource. MockingTo mock this method, please mock GetAuthorizationRoleDefinitions() instead. |
GetDenyAssignment(ArmResource, String, CancellationToken) |
Get the specified deny assignment.
|
GetDenyAssignmentAsync(ArmResource, String, CancellationToken) |
Get the specified deny assignment.
|
GetDenyAssignments(ArmResource) |
Gets a collection of DenyAssignmentResources in the ArmResource. MockingTo mock this method, please mock GetDenyAssignments() instead. |
GetRoleAssignment(ArmResource, String, String, CancellationToken) |
Get a role assignment by scope and name.
|
GetRoleAssignmentAsync(ArmResource, String, String, CancellationToken) |
Get a role assignment by scope and name.
|
GetRoleAssignments(ArmResource) |
Gets a collection of RoleAssignmentResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignments() instead. |
GetRoleAssignmentSchedule(ArmResource, String, CancellationToken) |
Get the specified role assignment schedule for a resource scope
|
GetRoleAssignmentScheduleAsync(ArmResource, String, CancellationToken) |
Get the specified role assignment schedule for a resource scope
|
GetRoleAssignmentScheduleInstance(ArmResource, String, CancellationToken) |
Gets the specified role assignment schedule instance.
|
GetRoleAssignmentScheduleInstanceAsync(ArmResource, String, CancellationToken) |
Gets the specified role assignment schedule instance.
|
GetRoleAssignmentScheduleInstances(ArmResource) |
Gets a collection of RoleAssignmentScheduleInstanceResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignmentScheduleInstances() instead. |
GetRoleAssignmentScheduleRequest(ArmResource, String, CancellationToken) |
Get the specified role assignment schedule request.
|
GetRoleAssignmentScheduleRequestAsync(ArmResource, String, CancellationToken) |
Get the specified role assignment schedule request.
|
GetRoleAssignmentScheduleRequests(ArmResource) |
Gets a collection of RoleAssignmentScheduleRequestResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignmentScheduleRequests() instead. |
GetRoleAssignmentSchedules(ArmResource) |
Gets a collection of RoleAssignmentScheduleResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignmentSchedules() instead. |
GetRoleEligibilitySchedule(ArmResource, String, CancellationToken) |
Get the specified role eligibility schedule for a resource scope
|
GetRoleEligibilityScheduleAsync(ArmResource, String, CancellationToken) |
Get the specified role eligibility schedule for a resource scope
|
GetRoleEligibilityScheduleInstance(ArmResource, String, CancellationToken) |
Gets the specified role eligibility schedule instance.
|
GetRoleEligibilityScheduleInstanceAsync(ArmResource, String, CancellationToken) |
Gets the specified role eligibility schedule instance.
|
GetRoleEligibilityScheduleInstances(ArmResource) |
Gets a collection of RoleEligibilityScheduleInstanceResources in the ArmResource. MockingTo mock this method, please mock GetRoleEligibilityScheduleInstances() instead. |
GetRoleEligibilityScheduleRequest(ArmResource, String, CancellationToken) |
Get the specified role eligibility schedule request.
|
GetRoleEligibilityScheduleRequestAsync(ArmResource, String, CancellationToken) |
Get the specified role eligibility schedule request.
|
GetRoleEligibilityScheduleRequests(ArmResource) |
Gets a collection of RoleEligibilityScheduleRequestResources in the ArmResource. MockingTo mock this method, please mock GetRoleEligibilityScheduleRequests() instead. |
GetRoleEligibilitySchedules(ArmResource) |
Gets a collection of RoleEligibilityScheduleResources in the ArmResource. MockingTo mock this method, please mock GetRoleEligibilitySchedules() instead. |
GetRoleManagementPolicies(ArmResource) |
Gets a collection of RoleManagementPolicyResources in the ArmResource. MockingTo mock this method, please mock GetRoleManagementPolicies() instead. |
GetRoleManagementPolicy(ArmResource, String, CancellationToken) |
Get the specified role management policy for a resource scope
|
GetRoleManagementPolicyAssignment(ArmResource, String, CancellationToken) |
Get the specified role management policy assignment for a resource scope
|
GetRoleManagementPolicyAssignmentAsync(ArmResource, String, CancellationToken) |
Get the specified role management policy assignment for a resource scope
|
GetRoleManagementPolicyAssignments(ArmResource) |
Gets a collection of RoleManagementPolicyAssignmentResources in the ArmResource. MockingTo mock this method, please mock GetRoleManagementPolicyAssignments() instead. |
GetRoleManagementPolicyAsync(ArmResource, String, CancellationToken) |
Get the specified role management policy for a resource scope
|
GetSystemAssignedIdentity(ArmResource) |
Gets an object representing a SystemAssignedIdentityResource along with the instance operations that can be performed on it in the ArmResource. MockingTo mock this method, please mock GetSystemAssignedIdentity() instead. |
GetLinkerResource(ArmResource, String, CancellationToken) |
Returns Linker resource for a given name.
|
GetLinkerResourceAsync(ArmResource, String, CancellationToken) |
Returns Linker resource for a given name.
|
GetLinkerResources(ArmResource) |
Gets a collection of LinkerResources in the ArmResource. MockingTo mock this method, please mock GetLinkerResources() instead. |