Documentation
¶
Overview ¶
Package azure allows users to interact with resources on the Microsoft Azure platform.
Index ¶
- Constants
- func AppExists(t testing.TestingT, appName string, resourceGroupName string, ...) booldeprecated
- func AppExistsContext(t testing.TestingT, ctx context.Context, appName string, ...) bool
- func AppExistsContextE(ctx context.Context, appName string, resourceGroupName string, ...) (bool, error)
- func AppExistsE(appName string, resourceGroupName string, subscriptionID string) (bool, error)deprecated
- func AvailabilitySetExists(t testing.TestingT, avsName string, resGroupName string, subscriptionID string) booldeprecated
- func AvailabilitySetExistsContext(t testing.TestingT, ctx context.Context, avsName string, resGroupName string, ...) bool
- func AvailabilitySetExistsContextE(t testing.TestingT, ctx context.Context, avsName string, resGroupName string, ...) (bool, error)
- func AvailabilitySetExistsE(t testing.TestingT, avsName string, resGroupName string, subscriptionID string) (bool, error)deprecated
- func BuildNamespaceIdsList(sbNamespace []*armservicebus.SBNamespace) []string
- func BuildNamespaceNamesList(sbNamespace []*armservicebus.SBNamespace) []string
- func CheckAvailabilitySetContainsVM(t testing.TestingT, vmName string, avsName string, resGroupName string, ...) booldeprecated
- func CheckAvailabilitySetContainsVMContext(t testing.TestingT, ctx context.Context, vmName string, avsName string, ...) bool
- func CheckAvailabilitySetContainsVMContextE(t testing.TestingT, ctx context.Context, vmName string, avsName string, ...) (bool, error)
- func CheckAvailabilitySetContainsVME(t testing.TestingT, vmName string, avsName string, resGroupName string, ...) (bool, error)deprecated
- func CheckAvailabilitySetContainsVMWithClient(ctx context.Context, client *armcompute.AvailabilitySetsClient, ...) (bool, error)
- func CheckPublicDNSNameAvailability(t testing.TestingT, location string, domainNameLabel string, ...) booldeprecated
- func CheckPublicDNSNameAvailabilityContext(t testing.TestingT, ctx context.Context, location string, ...) bool
- func CheckPublicDNSNameAvailabilityContextE(ctx context.Context, location string, domainNameLabel string, ...) (bool, error)
- func CheckPublicDNSNameAvailabilityE(location string, domainNameLabel string, subscriptionID string) (bool, error)deprecated
- func CheckSubnetContainsIP(t testing.TestingT, ipAddress string, subnetName string, vnetName string, ...) booldeprecated
- func CheckSubnetContainsIPContext(t testing.TestingT, ctx context.Context, ipAddress string, subnetName string, ...) bool
- func CheckSubnetContainsIPContextE(ctx context.Context, ipAddress string, subnetName string, vnetName string, ...) (bool, error)
- func CheckSubnetContainsIPE(ipAddress string, subnetName string, vnetName string, resGroupName string, ...) (bool, error)deprecated
- func CheckSubnetContainsIPWithClient(ctx context.Context, client *armnetwork.SubnetsClient, ipAddress string, ...) (bool, error)
- func ContainerAppExists(t testing.TestingT, containerAppName string, resourceGroupName string, ...) booldeprecated
- func ContainerAppExistsContext(t testing.TestingT, ctx context.Context, containerAppName string, ...) bool
- func ContainerAppExistsContextE(ctx context.Context, containerAppName string, resourceGroupName string, ...) (bool, error)
- func ContainerAppExistsE(containerAppName string, resourceGroupName string, subscriptionID string) (bool, error)deprecated
- func ContainerAppJobExists(t testing.TestingT, containerAppName string, resourceGroupName string, ...) booldeprecated
- func ContainerAppJobExistsContext(t testing.TestingT, ctx context.Context, containerAppName string, ...) bool
- func ContainerAppJobExistsContextE(ctx context.Context, containerAppName string, resourceGroupName string, ...) (bool, error)
- func ContainerAppJobExistsE(containerAppName string, resourceGroupName string, subscriptionID string) (bool, error)deprecated
- func ContainerInstanceExists(t testing.TestingT, instanceName string, resourceGroupName string, ...) booldeprecated
- func ContainerInstanceExistsContext(t testing.TestingT, ctx context.Context, instanceName string, ...) bool
- func ContainerInstanceExistsContextE(ctx context.Context, instanceName string, resourceGroupName string, ...) (bool, error)
- func ContainerInstanceExistsE(instanceName string, resourceGroupName string, subscriptionID string) (bool, error)deprecated
- func ContainerRegistryExists(t testing.TestingT, registryName string, resourceGroupName string, ...) booldeprecated
- func ContainerRegistryExistsContext(t testing.TestingT, ctx context.Context, registryName string, ...) bool
- func ContainerRegistryExistsContextE(ctx context.Context, registryName string, resourceGroupName string, ...) (bool, error)
- func ContainerRegistryExistsE(registryName string, resourceGroupName string, subscriptionID string) (bool, error)deprecated
- func CreateActionGroupClient(subscriptionID string) (*armmonitor.ActionGroupsClient, error)deprecated
- func CreateActionGroupClientContext(_ context.Context, subscriptionID string) (*armmonitor.ActionGroupsClient, error)
- func CreateActivityLogAlertsClientContextE(_ context.Context, subscriptionID string) (*armmonitor.ActivityLogAlertsClient, error)
- func CreateActivityLogAlertsClientE(subscriptionID string) (*armmonitor.ActivityLogAlertsClient, error)deprecated
- func CreateAppServiceClientContextE(_ context.Context, subscriptionID string) (*armappservice.WebAppsClient, error)
- func CreateAppServiceClientE(subscriptionID string) (*armappservice.WebAppsClient, error)deprecated
- func CreateAvailabilitySetClientContextE(_ context.Context, subscriptionID string) (*armcompute.AvailabilitySetsClient, error)
- func CreateAvailabilitySetClientE(subscriptionID string) (*armcompute.AvailabilitySetsClient, error)deprecated
- func CreateContainerAppJobsClientContextE(_ context.Context, subscriptionID string) (*armappcontainers.JobsClient, error)
- func CreateContainerAppJobsClientE(subscriptionID string) (*armappcontainers.JobsClient, error)deprecated
- func CreateContainerAppsClientContextE(_ context.Context, subscriptionID string) (*armappcontainers.ContainerAppsClient, error)
- func CreateContainerAppsClientE(subscriptionID string) (*armappcontainers.ContainerAppsClient, error)deprecated
- func CreateContainerInstanceClientContextE(_ context.Context, subscriptionID string) (*armcontainerinstance.ContainerGroupsClient, error)
- func CreateContainerInstanceClientE(subscriptionID string) (*armcontainerinstance.ContainerGroupsClient, error)deprecated
- func CreateContainerRegistryClientContextE(_ context.Context, subscriptionID string) (*armcontainerregistry.RegistriesClient, error)
- func CreateContainerRegistryClientE(subscriptionID string) (*armcontainerregistry.RegistriesClient, error)deprecated
- func CreateCosmosDBAccountClientContextE(_ context.Context, subscriptionID string) (*armcosmos.DatabaseAccountsClient, error)
- func CreateCosmosDBAccountClientE(subscriptionID string) (*armcosmos.DatabaseAccountsClient, error)deprecated
- func CreateCosmosDBSQLClientContextE(_ context.Context, subscriptionID string) (*armcosmos.SQLResourcesClient, error)
- func CreateCosmosDBSQLClientE(subscriptionID string) (*armcosmos.SQLResourcesClient, error)deprecated
- func CreateDataFactoriesClientContextE(_ context.Context, subscriptionID string) (*armdatafactory.FactoriesClient, error)
- func CreateDataFactoriesClientE(subscriptionID string) (*armdatafactory.FactoriesClient, error)deprecated
- func CreateDatabaseClient(subscriptionID string) (*armsql.DatabasesClient, error)deprecated
- func CreateDatabaseClientContext(_ context.Context, subscriptionID string) (*armsql.DatabasesClient, error)
- func CreateDiagnosticsSettingsClientContextE(_ context.Context, subscriptionID string) (*armmonitor.DiagnosticSettingsClient, error)
- func CreateDiagnosticsSettingsClientE(subscriptionID string) (*armmonitor.DiagnosticSettingsClient, error)deprecated
- func CreateDisksClientContextE(_ context.Context, subscriptionID string) (*armcompute.DisksClient, error)
- func CreateDisksClientE(subscriptionID string) (*armcompute.DisksClient, error)deprecated
- func CreateFrontDoorClientContextE(_ context.Context, subscriptionID string) (*armfrontdoor.FrontDoorsClient, error)
- func CreateFrontDoorClientE(subscriptionID string) (*armfrontdoor.FrontDoorsClient, error)deprecated
- func CreateFrontDoorFrontendEndpointClientContextE(_ context.Context, subscriptionID string) (*armfrontdoor.FrontendEndpointsClient, error)
- func CreateFrontDoorFrontendEndpointClientE(subscriptionID string) (*armfrontdoor.FrontendEndpointsClient, error)deprecated
- func CreateLoadBalancerClientContextE(_ context.Context, subscriptionID string) (*armnetwork.LoadBalancersClient, error)
- func CreateLoadBalancerClientE(subscriptionID string) (*armnetwork.LoadBalancersClient, error)deprecated
- func CreateLoadBalancerFrontendIPConfigClientContextE(_ context.Context, subscriptionID string) (*armnetwork.LoadBalancerFrontendIPConfigurationsClient, error)
- func CreateLoadBalancerFrontendIPConfigClientE(subscriptionID string) (*armnetwork.LoadBalancerFrontendIPConfigurationsClient, error)deprecated
- func CreateLogAnalyticsWorkspacesClientContextE(_ context.Context, subscriptionID string) (*armoperationalinsights.WorkspacesClient, error)
- func CreateManagedClustersClientContextE(_ context.Context, subscriptionID string) (*armcontainerservice.ManagedClustersClient, error)
- func CreateManagedClustersClientE(subscriptionID string) (*armcontainerservice.ManagedClustersClient, error)deprecated
- func CreateManagedEnvironmentsClientContextE(_ context.Context, subscriptionID string) (*armappcontainers.ManagedEnvironmentsClient, error)
- func CreateManagedEnvironmentsClientE(subscriptionID string) (*armappcontainers.ManagedEnvironmentsClient, error)deprecated
- func CreateMySQLServerClientContextE(_ context.Context, subscriptionID string) (*armmysql.ServersClient, error)
- func CreateMySQLServerClientE(subscriptionID string) (*armmysql.ServersClient, error)deprecated
- func CreateNetworkInterfaceIPConfigurationClientContextE(_ context.Context, subscriptionID string) (*armnetwork.InterfaceIPConfigurationsClient, error)
- func CreateNetworkInterfaceIPConfigurationClientE(subscriptionID string) (*armnetwork.InterfaceIPConfigurationsClient, error)deprecated
- func CreateNetworkInterfacesClientContextE(_ context.Context, subscriptionID string) (*armnetwork.InterfacesClient, error)
- func CreateNetworkInterfacesClientE(subscriptionID string) (*armnetwork.InterfacesClient, error)deprecated
- func CreateNetworkManagementClientContextE(_ context.Context, subscriptionID string) (*armnetwork.ManagementClient, error)
- func CreateNetworkManagementClientE(subscriptionID string) (*armnetwork.ManagementClient, error)deprecated
- func CreateNewNetworkInterfaceIPConfigurationClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.InterfaceIPConfigurationsClient, error)deprecated
- func CreateNewNetworkInterfaceIPConfigurationClientE(subscriptionID string) (*armnetwork.InterfaceIPConfigurationsClient, error)deprecated
- func CreateNewNetworkInterfacesClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.InterfacesClient, error)deprecated
- func CreateNewNetworkInterfacesClientE(subscriptionID string) (*armnetwork.InterfacesClient, error)deprecated
- func CreateNewSubnetClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.SubnetsClient, error)deprecated
- func CreateNewSubnetClientE(subscriptionID string) (*armnetwork.SubnetsClient, error)deprecated
- func CreateNewVirtualNetworkClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.VirtualNetworksClient, error)deprecated
- func CreateNewVirtualNetworkClientE(subscriptionID string) (*armnetwork.VirtualNetworksClient, error)deprecated
- func CreateNsgCustomRulesClientContextE(_ context.Context, subscriptionID string) (*armnetwork.SecurityRulesClient, error)
- func CreateNsgCustomRulesClientE(subscriptionID string) (*armnetwork.SecurityRulesClient, error)deprecated
- func CreateNsgDefaultRulesClientContextE(_ context.Context, subscriptionID string) (*armnetwork.DefaultSecurityRulesClient, error)
- func CreateNsgDefaultRulesClientE(subscriptionID string) (*armnetwork.DefaultSecurityRulesClient, error)deprecated
- func CreatePublicIPAddressesClientContextE(_ context.Context, subscriptionID string) (*armnetwork.PublicIPAddressesClient, error)
- func CreatePublicIPAddressesClientE(subscriptionID string) (*armnetwork.PublicIPAddressesClient, error)deprecated
- func CreateResourceGroupClientContextE(_ context.Context, subscriptionID string) (*armresources.ResourceGroupsClient, error)
- func CreateResourceGroupClientE(subscriptionID string) (*armresources.ResourceGroupsClient, error)deprecated
- func CreateSQLManagedDatabasesClient(subscriptionID string) (*armsql.ManagedDatabasesClient, error)deprecated
- func CreateSQLManagedDatabasesClientContext(_ context.Context, subscriptionID string) (*armsql.ManagedDatabasesClient, error)
- func CreateSQLManagedInstanceClient(subscriptionID string) (*armsql.ManagedInstancesClient, error)deprecated
- func CreateSQLManagedInstanceClientContext(_ context.Context, subscriptionID string) (*armsql.ManagedInstancesClient, error)
- func CreateSQLMangedDatabasesClient(subscriptionID string) (*armsql.ManagedDatabasesClient, error)deprecated
- func CreateSQLMangedDatabasesClientContext(ctx context.Context, subscriptionID string) (*armsql.ManagedDatabasesClient, error)deprecated
- func CreateSQLMangedInstanceClient(subscriptionID string) (*armsql.ManagedInstancesClient, error)deprecated
- func CreateSQLMangedInstanceClientContext(ctx context.Context, subscriptionID string) (*armsql.ManagedInstancesClient, error)deprecated
- func CreateSQLServerClient(subscriptionID string) (*armsql.ServersClient, error)deprecated
- func CreateSQLServerClientContext(_ context.Context, subscriptionID string) (*armsql.ServersClient, error)
- func CreateServiceBusNamespacesClientContextE(_ context.Context, subscriptionID string) (*armservicebus.NamespacesClient, error)
- func CreateServiceBusNamespacesClientE(subscriptionID string) (*armservicebus.NamespacesClient, error)deprecated
- func CreateServiceBusSubscriptionsClientContextE(_ context.Context, subscriptionID string) (*armservicebus.SubscriptionsClient, error)
- func CreateServiceBusSubscriptionsClientE(subscriptionID string) (*armservicebus.SubscriptionsClient, error)deprecated
- func CreateServiceBusTopicsClientContextE(_ context.Context, subscriptionID string) (*armservicebus.TopicsClient, error)
- func CreateServiceBusTopicsClientE(subscriptionID string) (*armservicebus.TopicsClient, error)deprecated
- func CreateStorageAccountClientContextE(_ context.Context, subscriptionID string) (*armstorage.AccountsClient, error)
- func CreateStorageAccountClientE(subscriptionID string) (*armstorage.AccountsClient, error)deprecated
- func CreateStorageBlobContainerClientContextE(_ context.Context, subscriptionID string) (*armstorage.BlobContainersClient, error)
- func CreateStorageBlobContainerClientE(subscriptionID string) (*armstorage.BlobContainersClient, error)deprecated
- func CreateStorageFileSharesClientContextE(_ context.Context, subscriptionID string) (*armstorage.FileSharesClient, error)
- func CreateStorageFileSharesClientE(subscriptionID string) (*armstorage.FileSharesClient, error)deprecated
- func CreateSubnetClientContextE(_ context.Context, subscriptionID string) (*armnetwork.SubnetsClient, error)
- func CreateSubnetClientE(subscriptionID string) (*armnetwork.SubnetsClient, error)deprecated
- func CreateSubscriptionsClientContextE(_ context.Context) (*armsubscriptions.Client, error)
- func CreateSynapseSQLPoolClientContextE(_ context.Context, subscriptionID string) (*armsynapse.SQLPoolsClient, error)
- func CreateSynapseSQLPoolClientE(subscriptionID string) (*armsynapse.SQLPoolsClient, error)deprecated
- func CreateSynapseSqlPoolClientContextE(ctx context.Context, subscriptionID string) (*armsynapse.SQLPoolsClient, error)deprecated
- func CreateSynapseSqlPoolClientE(subscriptionID string) (*armsynapse.SQLPoolsClient, error)deprecated
- func CreateSynapseWorkspaceClientContextE(_ context.Context, subscriptionID string) (*armsynapse.WorkspacesClient, error)
- func CreateSynapseWorkspaceClientE(subscriptionID string) (*armsynapse.WorkspacesClient, error)deprecated
- func CreateVMInsightsClientContextE(_ context.Context, subscriptionID string) (*armmonitor.VMInsightsClient, error)
- func CreateVMInsightsClientE(subscriptionID string) (*armmonitor.VMInsightsClient, error)deprecated
- func CreateVirtualMachinesClientContextE(_ context.Context, subscriptionID string) (*armcompute.VirtualMachinesClient, error)
- func CreateVirtualMachinesClientE(subscriptionID string) (*armcompute.VirtualMachinesClient, error)deprecated
- func CreateVirtualNetworkClientContextE(_ context.Context, subscriptionID string) (*armnetwork.VirtualNetworksClient, error)
- func CreateVirtualNetworkClientE(subscriptionID string) (*armnetwork.VirtualNetworksClient, error)deprecated
- func DataFactoryExists(t testing.TestingT, dataFactoryName string, resourceGroupName string, ...) booldeprecated
- func DataFactoryExistsContext(t testing.TestingT, ctx context.Context, dataFactoryName string, ...) bool
- func DataFactoryExistsContextE(ctx context.Context, dataFactoryName string, resourceGroupName string, ...) (bool, error)
- func DataFactoryExistsE(dataFactoryName string, resourceGroupName string, subscriptionID string) (bool, error)deprecated
- func DiagnosticSettingsResourceExists(t testing.TestingT, diagnosticSettingsResourceName string, resourceURI string, ...) booldeprecated
- func DiagnosticSettingsResourceExistsContext(t testing.TestingT, ctx context.Context, diagnosticSettingsResourceName string, ...) bool
- func DiagnosticSettingsResourceExistsContextE(ctx context.Context, diagnosticSettingsResourceName string, resourceURI string, ...) (bool, error)
- func DiagnosticSettingsResourceExistsE(diagnosticSettingsResourceName string, resourceURI string, ...) (bool, error)deprecated
- func DiagnosticSettingsResourceExistsWithClient(ctx context.Context, client *armmonitor.DiagnosticSettingsClient, ...) (bool, error)
- func DiskExists(t testing.TestingT, diskName string, resGroupName string, ...) booldeprecated
- func DiskExistsContext(t testing.TestingT, ctx context.Context, diskName string, resGroupName string, ...) bool
- func DiskExistsContextE(ctx context.Context, diskName string, resGroupName string, ...) (bool, error)
- func DiskExistsE(diskName string, resGroupName string, subscriptionID string) (bool, error)deprecated
- func DiskExistsWithClient(ctx context.Context, client *armcompute.DisksClient, resGroupName string, ...) (bool, error)
- func ExtractAvailabilitySetFaultDomainCount(avs *armcompute.AvailabilitySet) (int32, error)
- func ExtractBlobContainerPublicAccess(container *armstorage.BlobContainer) bool
- func ExtractIPOfPublicIPAddress(pip *armnetwork.PublicIPAddress) (string, error)
- func ExtractLoadBalancerFrontendIPConfigNames(lb *armnetwork.LoadBalancer) []string
- func ExtractNetworkInterfacePrivateIPs(nic *armnetwork.Interface) []string
- func ExtractStorageAccountKind(account *armstorage.Account) string
- func ExtractStorageAccountSkuTier(account *armstorage.Account) string
- func ExtractVirtualNetworkDNSServerIPs(vnet *armnetwork.VirtualNetwork) []string
- func FetchBlobContainer(ctx context.Context, client *armstorage.BlobContainersClient, ...) (*armstorage.BlobContainer, error)
- func FetchFileShare(ctx context.Context, client *armstorage.FileSharesClient, ...) (*armstorage.FileShare, error)
- func FetchStorageAccountProperties(ctx context.Context, client *armstorage.AccountsClient, ...) (*armstorage.Account, error)
- func FrontDoorExists(t testing.TestingT, frontDoorName string, resourceGroupName string, ...) booldeprecated
- func FrontDoorExistsContext(t testing.TestingT, ctx context.Context, frontDoorName string, ...) bool
- func FrontDoorExistsContextE(ctx context.Context, frontDoorName string, resourceGroupName string, ...) (bool, error)
- func FrontDoorExistsE(frontDoorName string, resourceGroupName string, subscriptionID string) (bool, error)deprecated
- func FrontDoorFrontendEndpointExists(t testing.TestingT, endpointName string, frontDoorName string, ...) booldeprecated
- func FrontDoorFrontendEndpointExistsContext(t testing.TestingT, ctx context.Context, endpointName string, ...) bool
- func FrontDoorFrontendEndpointExistsContextE(ctx context.Context, endpointName string, frontDoorName string, ...) (bool, error)
- func FrontDoorFrontendEndpointExistsE(endpointName string, frontDoorName string, resourceGroupName string, ...) (bool, error)deprecated
- func GetAResourceGroup(t testing.TestingT, resourceGroupName string, subscriptionID string) *armresources.ResourceGroupdeprecated
- func GetAResourceGroupContext(t testing.TestingT, ctx context.Context, resourceGroupName string, ...) *armresources.ResourceGroup
- func GetAResourceGroupContextE(ctx context.Context, resourceGroupName, subscriptionID string) (*armresources.ResourceGroup, error)
- func GetAResourceGroupE(resourceGroupName, subscriptionID string) (*armresources.ResourceGroup, error)deprecated
- func GetAResourceGroupWithClient(ctx context.Context, client *armresources.ResourceGroupsClient, ...) (*armresources.ResourceGroup, error)
- func GetActionGroupResource(t testing.TestingT, ruleName string, resGroupName string, ...) *armmonitor.ActionGroupResourcedeprecated
- func GetActionGroupResourceContext(t testing.TestingT, ctx context.Context, ruleName string, resGroupName string, ...) *armmonitor.ActionGroupResource
- func GetActionGroupResourceContextE(ctx context.Context, ruleName string, resGroupName string, ...) (*armmonitor.ActionGroupResource, error)
- func GetActionGroupResourceE(ruleName string, resGroupName string, subscriptionID string) (*armmonitor.ActionGroupResource, error)deprecated
- func GetActionGroupResourceWithClient(ctx context.Context, client *armmonitor.ActionGroupsClient, ...) (*armmonitor.ActionGroupResource, error)
- func GetActivityLogAlertResource(t testing.TestingT, activityLogAlertName string, resGroupName string, ...) *armmonitor.ActivityLogAlertResourcedeprecated
- func GetActivityLogAlertResourceContext(t testing.TestingT, ctx context.Context, activityLogAlertName string, ...) *armmonitor.ActivityLogAlertResource
- func GetActivityLogAlertResourceContextE(ctx context.Context, activityLogAlertName string, resGroupName string, ...) (*armmonitor.ActivityLogAlertResource, error)
- func GetActivityLogAlertResourceE(activityLogAlertName string, resGroupName string, subscriptionID string) (*armmonitor.ActivityLogAlertResource, error)deprecated
- func GetActivityLogAlertResourceWithClient(ctx context.Context, client *armmonitor.ActivityLogAlertsClient, ...) (*armmonitor.ActivityLogAlertResource, error)
- func GetAllAzureRegions(t testing.TestingT, subscriptionID string) []stringdeprecated
- func GetAllAzureRegionsContext(t testing.TestingT, ctx context.Context, subscriptionID string) []string
- func GetAllAzureRegionsContextE(t testing.TestingT, ctx context.Context, subscriptionID string) ([]string, error)
- func GetAllAzureRegionsE(t testing.TestingT, subscriptionID string) ([]string, error)deprecated
- func GetAppService(t testing.TestingT, appName string, resGroupName string, subscriptionID string) *armappservice.Sitedeprecated
- func GetAppServiceClientContextE(_ context.Context, subscriptionID string) (*armappservice.WebAppsClient, error)
- func GetAppServiceClientE(subscriptionID string) (*armappservice.WebAppsClient, error)deprecated
- func GetAppServiceContext(t testing.TestingT, ctx context.Context, appName string, resGroupName string, ...) *armappservice.Site
- func GetAppServiceContextE(ctx context.Context, appName string, resGroupName string, ...) (*armappservice.Site, error)
- func GetAppServiceE(appName string, resGroupName string, subscriptionID string) (*armappservice.Site, error)deprecated
- func GetAppServiceWithClient(ctx context.Context, client *armappservice.WebAppsClient, ...) (*armappservice.Site, error)
- func GetAvailabilitySetContextE(t testing.TestingT, ctx context.Context, avsName string, resGroupName string, ...) (*armcompute.AvailabilitySet, error)
- func GetAvailabilitySetE(t testing.TestingT, avsName string, resGroupName string, subscriptionID string) (*armcompute.AvailabilitySet, error)deprecated
- func GetAvailabilitySetFaultDomainCount(t testing.TestingT, avsName string, resGroupName string, subscriptionID string) int32deprecated
- func GetAvailabilitySetFaultDomainCountContext(t testing.TestingT, ctx context.Context, avsName string, resGroupName string, ...) int32
- func GetAvailabilitySetFaultDomainCountContextE(t testing.TestingT, ctx context.Context, avsName string, resGroupName string, ...) (int32, error)
- func GetAvailabilitySetFaultDomainCountE(t testing.TestingT, avsName string, resGroupName string, subscriptionID string) (int32, error)deprecated
- func GetAvailabilitySetVMNamesInCaps(t testing.TestingT, avsName string, resGroupName string, subscriptionID string) []stringdeprecated
- func GetAvailabilitySetVMNamesInCapsContext(t testing.TestingT, ctx context.Context, avsName string, resGroupName string, ...) []string
- func GetAvailabilitySetVMNamesInCapsContextE(t testing.TestingT, ctx context.Context, avsName string, resGroupName string, ...) ([]string, error)
- func GetAvailabilitySetVMNamesInCapsE(t testing.TestingT, avsName string, resGroupName string, subscriptionID string) ([]string, error)deprecated
- func GetAvailabilitySetVMNamesInCapsWithClient(ctx context.Context, client *armcompute.AvailabilitySetsClient, ...) ([]string, error)
- func GetAvailabilitySetWithClient(ctx context.Context, client *armcompute.AvailabilitySetsClient, ...) (*armcompute.AvailabilitySet, error)
- func GetBackupPolicyListWithClient(ctx context.Context, client *armrecoveryservicesbackup.BackupPoliciesClient, ...) (map[string]armrecoveryservicesbackup.ProtectionPolicyResource, error)
- func GetBackupProtectedVMListWithClient(ctx context.Context, ...) (map[string]armrecoveryservicesbackup.AzureIaaSComputeVMProtectedItem, error)
- func GetContainerApp(t testing.TestingT, containerAppName string, resourceGroupName string, ...) *armappcontainers.ContainerAppdeprecated
- func GetContainerAppContext(t testing.TestingT, ctx context.Context, containerAppName string, ...) *armappcontainers.ContainerApp
- func GetContainerAppContextE(ctx context.Context, containerAppName string, resourceGroupName string, ...) (*armappcontainers.ContainerApp, error)
- func GetContainerAppE(containerAppName string, resourceGroupName string, subscriptionID string) (*armappcontainers.ContainerApp, error)deprecated
- func GetContainerAppJob(t testing.TestingT, containerAppName string, resourceGroupName string, ...) *armappcontainers.Jobdeprecated
- func GetContainerAppJobContext(t testing.TestingT, ctx context.Context, containerAppName string, ...) *armappcontainers.Job
- func GetContainerAppJobContextE(ctx context.Context, containerAppName string, resourceGroupName string, ...) (*armappcontainers.Job, error)
- func GetContainerAppJobE(containerAppName string, resourceGroupName string, subscriptionID string) (*armappcontainers.Job, error)deprecated
- func GetContainerAppJobWithClient(ctx context.Context, client *armappcontainers.JobsClient, ...) (*armappcontainers.Job, error)
- func GetContainerAppWithClient(ctx context.Context, client *armappcontainers.ContainerAppsClient, ...) (*armappcontainers.ContainerApp, error)
- func GetContainerInstance(t testing.TestingT, instanceName string, resGroupName string, ...) *armcontainerinstance.ContainerGroupdeprecated
- func GetContainerInstanceContext(t testing.TestingT, ctx context.Context, instanceName string, ...) *armcontainerinstance.ContainerGroup
- func GetContainerInstanceContextE(ctx context.Context, instanceName string, resGroupName string, ...) (*armcontainerinstance.ContainerGroup, error)
- func GetContainerInstanceE(instanceName string, resGroupName string, subscriptionID string) (*armcontainerinstance.ContainerGroup, error)deprecated
- func GetContainerInstanceWithClient(ctx context.Context, client *armcontainerinstance.ContainerGroupsClient, ...) (*armcontainerinstance.ContainerGroup, error)
- func GetContainerRegistry(t testing.TestingT, registryName string, resGroupName string, ...) *armcontainerregistry.Registrydeprecated
- func GetContainerRegistryContext(t testing.TestingT, ctx context.Context, registryName string, ...) *armcontainerregistry.Registry
- func GetContainerRegistryContextE(ctx context.Context, registryName string, resGroupName string, ...) (*armcontainerregistry.Registry, error)
- func GetContainerRegistryE(registryName string, resGroupName string, subscriptionID string) (*armcontainerregistry.Registry, error)deprecated
- func GetContainerRegistryWithClient(ctx context.Context, client *armcontainerregistry.RegistriesClient, ...) (*armcontainerregistry.Registry, error)
- func GetCosmosDBAccount(t testing.TestingT, subscriptionID string, resourceGroupName string, ...) *armcosmos.DatabaseAccountGetResultsdeprecated
- func GetCosmosDBAccountClient(t testing.TestingT, subscriptionID string) *armcosmos.DatabaseAccountsClientdeprecated
- func GetCosmosDBAccountClientContext(t testing.TestingT, ctx context.Context, subscriptionID string) *armcosmos.DatabaseAccountsClient
- func GetCosmosDBAccountClientContextE(ctx context.Context, subscriptionID string) (*armcosmos.DatabaseAccountsClient, error)
- func GetCosmosDBAccountClientE(subscriptionID string) (*armcosmos.DatabaseAccountsClient, error)deprecated
- func GetCosmosDBAccountContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) *armcosmos.DatabaseAccountGetResults
- func GetCosmosDBAccountContextE(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*armcosmos.DatabaseAccountGetResults, error)
- func GetCosmosDBAccountE(subscriptionID string, resourceGroupName string, accountName string) (*armcosmos.DatabaseAccountGetResults, error)deprecated
- func GetCosmosDBAccountWithClient(ctx context.Context, client *armcosmos.DatabaseAccountsClient, ...) (*armcosmos.DatabaseAccountGetResults, error)
- func GetCosmosDBSQLClient(t testing.TestingT, subscriptionID string) *armcosmos.SQLResourcesClientdeprecated
- func GetCosmosDBSQLClientContext(t testing.TestingT, ctx context.Context, subscriptionID string) *armcosmos.SQLResourcesClient
- func GetCosmosDBSQLClientContextE(ctx context.Context, subscriptionID string) (*armcosmos.SQLResourcesClient, error)
- func GetCosmosDBSQLClientE(subscriptionID string) (*armcosmos.SQLResourcesClient, error)deprecated
- func GetCosmosDBSQLContainer(t testing.TestingT, subscriptionID string, resourceGroupName string, ...) *armcosmos.SQLContainerGetResultsdeprecated
- func GetCosmosDBSQLContainerContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) *armcosmos.SQLContainerGetResults
- func GetCosmosDBSQLContainerContextE(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*armcosmos.SQLContainerGetResults, error)
- func GetCosmosDBSQLContainerE(subscriptionID string, resourceGroupName string, accountName string, ...) (*armcosmos.SQLContainerGetResults, error)deprecated
- func GetCosmosDBSQLContainerThroughput(t testing.TestingT, subscriptionID string, resourceGroupName string, ...) *armcosmos.ThroughputSettingsGetResultsdeprecated
- func GetCosmosDBSQLContainerThroughputContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) *armcosmos.ThroughputSettingsGetResults
- func GetCosmosDBSQLContainerThroughputContextE(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*armcosmos.ThroughputSettingsGetResults, error)
- func GetCosmosDBSQLContainerThroughputE(subscriptionID string, resourceGroupName string, accountName string, ...) (*armcosmos.ThroughputSettingsGetResults, error)deprecated
- func GetCosmosDBSQLContainerThroughputWithClient(ctx context.Context, client *armcosmos.SQLResourcesClient, ...) (*armcosmos.ThroughputSettingsGetResults, error)
- func GetCosmosDBSQLContainerWithClient(ctx context.Context, client *armcosmos.SQLResourcesClient, ...) (*armcosmos.SQLContainerGetResults, error)
- func GetCosmosDBSQLDatabase(t testing.TestingT, subscriptionID string, resourceGroupName string, ...) *armcosmos.SQLDatabaseGetResultsdeprecated
- func GetCosmosDBSQLDatabaseContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) *armcosmos.SQLDatabaseGetResults
- func GetCosmosDBSQLDatabaseContextE(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*armcosmos.SQLDatabaseGetResults, error)
- func GetCosmosDBSQLDatabaseE(subscriptionID string, resourceGroupName string, accountName string, ...) (*armcosmos.SQLDatabaseGetResults, error)deprecated
- func GetCosmosDBSQLDatabaseThroughput(t testing.TestingT, subscriptionID string, resourceGroupName string, ...) *armcosmos.ThroughputSettingsGetResultsdeprecated
- func GetCosmosDBSQLDatabaseThroughputContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) *armcosmos.ThroughputSettingsGetResults
- func GetCosmosDBSQLDatabaseThroughputContextE(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*armcosmos.ThroughputSettingsGetResults, error)
- func GetCosmosDBSQLDatabaseThroughputE(subscriptionID string, resourceGroupName string, accountName string, ...) (*armcosmos.ThroughputSettingsGetResults, error)deprecated
- func GetCosmosDBSQLDatabaseThroughputWithClient(ctx context.Context, client *armcosmos.SQLResourcesClient, ...) (*armcosmos.ThroughputSettingsGetResults, error)
- func GetCosmosDBSQLDatabaseWithClient(ctx context.Context, client *armcosmos.SQLResourcesClient, ...) (*armcosmos.SQLDatabaseGetResults, error)
- func GetCustomNsgRulesClient(t testing.TestingT, subscriptionID string) *armnetwork.SecurityRulesClientdeprecated
- func GetCustomNsgRulesClientContext(t testing.TestingT, ctx context.Context, subscriptionID string) *armnetwork.SecurityRulesClient
- func GetCustomNsgRulesClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.SecurityRulesClient, error)
- func GetCustomNsgRulesClientE(subscriptionID string) (*armnetwork.SecurityRulesClient, error)deprecated
- func GetDataFactory(t testing.TestingT, resGroupName string, factoryName string, ...) *armdatafactory.Factorydeprecated
- func GetDataFactoryContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) *armdatafactory.Factory
- func GetDataFactoryContextE(ctx context.Context, subscriptionID string, resGroupName string, ...) (*armdatafactory.Factory, error)
- func GetDataFactoryE(subscriptionID string, resGroupName string, factoryName string) (*armdatafactory.Factory, error)deprecated
- func GetDataFactoryWithClient(ctx context.Context, client *armdatafactory.FactoriesClient, ...) (*armdatafactory.Factory, error)
- func GetDatabaseClient(subscriptionID string) (*armsql.DatabasesClient, error)deprecated
- func GetDatabaseClientContext(ctx context.Context, subscriptionID string) (*armsql.DatabasesClient, error)
- func GetDefaultNsgRulesClient(t testing.TestingT, subscriptionID string) *armnetwork.DefaultSecurityRulesClientdeprecated
- func GetDefaultNsgRulesClientContext(t testing.TestingT, ctx context.Context, subscriptionID string) *armnetwork.DefaultSecurityRulesClient
- func GetDefaultNsgRulesClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.DefaultSecurityRulesClient, error)
- func GetDefaultNsgRulesClientE(subscriptionID string) (*armnetwork.DefaultSecurityRulesClient, error)deprecated
- func GetDiagnosticsSettingsResource(t testing.TestingT, name string, resourceURI string, subscriptionID string) *armmonitor.DiagnosticSettingsResourcedeprecated
- func GetDiagnosticsSettingsResourceContext(t testing.TestingT, ctx context.Context, name string, resourceURI string, ...) *armmonitor.DiagnosticSettingsResource
- func GetDiagnosticsSettingsResourceContextE(ctx context.Context, name string, resourceURI string, subscriptionID string) (*armmonitor.DiagnosticSettingsResource, error)
- func GetDiagnosticsSettingsResourceE(name string, resourceURI string, subscriptionID string) (*armmonitor.DiagnosticSettingsResource, error)deprecated
- func GetDiagnosticsSettingsResourceWithClient(ctx context.Context, client *armmonitor.DiagnosticSettingsClient, ...) (*armmonitor.DiagnosticSettingsResource, error)
- func GetDisk(t testing.TestingT, diskName string, resGroupName string, ...) *armcompute.Diskdeprecated
- func GetDiskContext(t testing.TestingT, ctx context.Context, diskName string, resGroupName string, ...) *armcompute.Disk
- func GetDiskContextE(ctx context.Context, diskName string, resGroupName string, ...) (*armcompute.Disk, error)
- func GetDiskE(diskName string, resGroupName string, subscriptionID string) (*armcompute.Disk, error)deprecated
- func GetDiskWithClient(ctx context.Context, client *armcompute.DisksClient, resGroupName string, ...) (*armcompute.Disk, error)
- func GetFrontDoor(t testing.TestingT, frontDoorName string, resourceGroupName string, ...) *armfrontdoor.FrontDoordeprecated
- func GetFrontDoorClientE(subscriptionID string) (*armfrontdoor.FrontDoorsClient, error)deprecated
- func GetFrontDoorContext(t testing.TestingT, ctx context.Context, frontDoorName string, ...) *armfrontdoor.FrontDoor
- func GetFrontDoorContextE(ctx context.Context, frontDoorName, resourceGroupName, subscriptionID string) (*armfrontdoor.FrontDoor, error)
- func GetFrontDoorE(frontDoorName, resourceGroupName, subscriptionID string) (*armfrontdoor.FrontDoor, error)deprecated
- func GetFrontDoorFrontendEndpoint(t testing.TestingT, endpointName string, frontDoorName string, ...) *armfrontdoor.FrontendEndpointdeprecated
- func GetFrontDoorFrontendEndpointClientE(subscriptionID string) (*armfrontdoor.FrontendEndpointsClient, error)deprecated
- func GetFrontDoorFrontendEndpointContext(t testing.TestingT, ctx context.Context, endpointName string, ...) *armfrontdoor.FrontendEndpoint
- func GetFrontDoorFrontendEndpointContextE(ctx context.Context, ...) (*armfrontdoor.FrontendEndpoint, error)
- func GetFrontDoorFrontendEndpointE(endpointName, frontDoorName, resourceGroupName, subscriptionID string) (*armfrontdoor.FrontendEndpoint, error)deprecated
- func GetFrontDoorFrontendEndpointWithClient(ctx context.Context, client *armfrontdoor.FrontendEndpointsClient, ...) (*armfrontdoor.FrontendEndpoint, error)
- func GetFrontDoorWithClient(ctx context.Context, client *armfrontdoor.FrontDoorsClient, ...) (*armfrontdoor.FrontDoor, error)
- func GetIPOfPublicIPAddressByName(t testing.TestingT, publicAddressName string, resGroupName string, ...) stringdeprecated
- func GetIPOfPublicIPAddressByNameContext(t testing.TestingT, ctx context.Context, publicAddressName string, ...) string
- func GetIPOfPublicIPAddressByNameContextE(ctx context.Context, publicAddressName string, resGroupName string, ...) (string, error)
- func GetIPOfPublicIPAddressByNameE(publicAddressName string, resGroupName string, subscriptionID string) (string, error)deprecated
- func GetKeyVault(t testing.TestingT, resGroupName string, keyVaultName string, ...) *armkeyvault.Vaultdeprecated
- func GetKeyVaultCertificatesClientContextE(_ context.Context, keyVaultName string) (*azcertificates.Client, error)
- func GetKeyVaultCertificatesClientE(keyVaultName string) (*azcertificates.Client, error)deprecated
- func GetKeyVaultContext(t testing.TestingT, ctx context.Context, resGroupName string, ...) *armkeyvault.Vault
- func GetKeyVaultContextE(t testing.TestingT, ctx context.Context, resGroupName string, ...) (*armkeyvault.Vault, error)
- func GetKeyVaultE(t testing.TestingT, resGroupName string, keyVaultName string, ...) (*armkeyvault.Vault, error)deprecated
- func GetKeyVaultKeysClientContextE(_ context.Context, keyVaultName string) (*azkeys.Client, error)
- func GetKeyVaultKeysClientE(keyVaultName string) (*azkeys.Client, error)deprecated
- func GetKeyVaultManagementClientContextE(_ context.Context, subscriptionID string) (*armkeyvault.VaultsClient, error)
- func GetKeyVaultManagementClientE(subscriptionID string) (*armkeyvault.VaultsClient, error)deprecated
- func GetKeyVaultSecretsClientContextE(_ context.Context, keyVaultName string) (*azsecrets.Client, error)
- func GetKeyVaultSecretsClientE(keyVaultName string) (*azsecrets.Client, error)deprecated
- func GetKeyVaultURISuffixContextE(_ context.Context) (string, error)
- func GetKeyVaultURISuffixE() (string, error)deprecated
- func GetKeyVaultWithClient(ctx context.Context, client *armkeyvault.VaultsClient, resGroupName string, ...) (*armkeyvault.Vault, error)
- func GetLoadBalancer(t testing.TestingT, loadBalancerName string, resourceGroupName string, ...) *armnetwork.LoadBalancerdeprecated
- func GetLoadBalancerClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.LoadBalancersClient, error)
- func GetLoadBalancerClientE(subscriptionID string) (*armnetwork.LoadBalancersClient, error)deprecated
- func GetLoadBalancerContext(t testing.TestingT, ctx context.Context, loadBalancerName string, ...) *armnetwork.LoadBalancer
- func GetLoadBalancerContextE(ctx context.Context, loadBalancerName string, resourceGroupName string, ...) (*armnetwork.LoadBalancer, error)
- func GetLoadBalancerE(loadBalancerName string, resourceGroupName string, subscriptionID string) (*armnetwork.LoadBalancer, error)deprecated
- func GetLoadBalancerFrontendIPConfig(t testing.TestingT, feConfigName string, loadBalancerName string, ...) *armnetwork.FrontendIPConfigurationdeprecated
- func GetLoadBalancerFrontendIPConfigClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.LoadBalancerFrontendIPConfigurationsClient, error)
- func GetLoadBalancerFrontendIPConfigClientE(subscriptionID string) (*armnetwork.LoadBalancerFrontendIPConfigurationsClient, error)deprecated
- func GetLoadBalancerFrontendIPConfigContext(t testing.TestingT, ctx context.Context, feConfigName string, ...) *armnetwork.FrontendIPConfiguration
- func GetLoadBalancerFrontendIPConfigContextE(ctx context.Context, feConfigName string, loadBalancerName string, ...) (*armnetwork.FrontendIPConfiguration, error)
- func GetLoadBalancerFrontendIPConfigE(feConfigName string, loadBalancerName string, resourceGroupName string, ...) (*armnetwork.FrontendIPConfiguration, error)deprecated
- func GetLoadBalancerFrontendIPConfigNames(t testing.TestingT, loadBalancerName string, resourceGroupName string, ...) []stringdeprecated
- func GetLoadBalancerFrontendIPConfigNamesContext(t testing.TestingT, ctx context.Context, loadBalancerName string, ...) []string
- func GetLoadBalancerFrontendIPConfigNamesContextE(ctx context.Context, loadBalancerName string, resourceGroupName string, ...) ([]string, error)
- func GetLoadBalancerFrontendIPConfigNamesE(loadBalancerName string, resourceGroupName string, subscriptionID string) ([]string, error)deprecated
- func GetLoadBalancerFrontendIPConfigWithClient(ctx context.Context, ...) (*armnetwork.FrontendIPConfiguration, error)
- func GetLoadBalancerWithClient(ctx context.Context, client *armnetwork.LoadBalancersClient, ...) (*armnetwork.LoadBalancer, error)
- func GetLogAnalyticsWorkspace(t testing.TestingT, workspaceName string, resourceGroupName string, ...) *armoperationalinsights.Workspacedeprecated
- func GetLogAnalyticsWorkspaceContext(t testing.TestingT, ctx context.Context, workspaceName string, ...) *armoperationalinsights.Workspace
- func GetLogAnalyticsWorkspaceContextE(ctx context.Context, workspaceName, resourceGroupName, subscriptionID string) (*armoperationalinsights.Workspace, error)
- func GetLogAnalyticsWorkspaceE(workspaceName, resourceGroupName, subscriptionID string) (*armoperationalinsights.Workspace, error)deprecated
- func GetLogAnalyticsWorkspaceWithClient(ctx context.Context, client *armoperationalinsights.WorkspacesClient, ...) (*armoperationalinsights.Workspace, error)
- func GetLogAnalyticsWorkspacesClientContextE(ctx context.Context, subscriptionID string) (*armoperationalinsights.WorkspacesClient, error)deprecated
- func GetLogAnalyticsWorkspacesClientE(subscriptionID string) (*armoperationalinsights.WorkspacesClient, error)deprecated
- func GetMYSQLDB(t testing.TestingT, resGroupName string, serverName string, dbName string, ...) *armmysql.Databasedeprecated
- func GetMYSQLDBClientContextE(_ context.Context, subscriptionID string) (*armmysql.DatabasesClient, error)
- func GetMYSQLDBClientE(subscriptionID string) (*armmysql.DatabasesClient, error)deprecated
- func GetMYSQLDBContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) *armmysql.Database
- func GetMYSQLDBContextE(t testing.TestingT, ctx context.Context, subscriptionID string, ...) (*armmysql.Database, error)
- func GetMYSQLDBE(t testing.TestingT, subscriptionID string, resGroupName string, ...) (*armmysql.Database, error)deprecated
- func GetMYSQLDBWithClient(ctx context.Context, client *armmysql.DatabasesClient, resGroupName string, ...) (*armmysql.Database, error)
- func GetMYSQLServer(t testing.TestingT, resGroupName string, serverName string, ...) *armmysql.Serverdeprecated
- func GetMYSQLServerClientContextE(_ context.Context, subscriptionID string) (*armmysql.ServersClient, error)
- func GetMYSQLServerClientE(subscriptionID string) (*armmysql.ServersClient, error)deprecated
- func GetMYSQLServerContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) *armmysql.Server
- func GetMYSQLServerContextE(t testing.TestingT, ctx context.Context, subscriptionID string, ...) (*armmysql.Server, error)
- func GetMYSQLServerE(t testing.TestingT, subscriptionID string, resGroupName string, ...) (*armmysql.Server, error)deprecated
- func GetMYSQLServerWithClient(ctx context.Context, client *armmysql.ServersClient, resGroupName string, ...) (*armmysql.Server, error)
- func GetManagedClusterContext(t testing.TestingT, ctx context.Context, ...) *armcontainerservice.ManagedCluster
- func GetManagedClusterContextE(t testing.TestingT, ctx context.Context, ...) (*armcontainerservice.ManagedCluster, error)
- func GetManagedClusterE(t testing.TestingT, resourceGroupName, clusterName, subscriptionID string) (*armcontainerservice.ManagedCluster, error)deprecated
- func GetManagedClusterWithClient(ctx context.Context, client *armcontainerservice.ManagedClustersClient, ...) (*armcontainerservice.ManagedCluster, error)
- func GetManagedEnvironment(t testing.TestingT, environmentName string, resourceGroupName string, ...) *armappcontainers.ManagedEnvironmentdeprecated
- func GetManagedEnvironmentContext(t testing.TestingT, ctx context.Context, environmentName string, ...) *armappcontainers.ManagedEnvironment
- func GetManagedEnvironmentContextE(ctx context.Context, environmentName string, resourceGroupName string, ...) (*armappcontainers.ManagedEnvironment, error)
- func GetManagedEnvironmentE(environmentName string, resourceGroupName string, subscriptionID string) (*armappcontainers.ManagedEnvironment, error)deprecated
- func GetManagedEnvironmentWithClient(ctx context.Context, client *armappcontainers.ManagedEnvironmentsClient, ...) (*armappcontainers.ManagedEnvironment, error)
- func GetManagedInstance(t testing.TestingT, resGroupName string, managedInstanceName string, ...) *armsql.ManagedInstancedeprecated
- func GetManagedInstanceContext(t testing.TestingT, ctx context.Context, resGroupName string, ...) *armsql.ManagedInstance
- func GetManagedInstanceContextE(ctx context.Context, subscriptionID string, resGroupName string, ...) (*armsql.ManagedInstance, error)
- func GetManagedInstanceDatabase(t testing.TestingT, resGroupName string, managedInstanceName string, ...) *armsql.ManagedDatabasedeprecated
- func GetManagedInstanceDatabaseContext(t testing.TestingT, ctx context.Context, resGroupName string, ...) *armsql.ManagedDatabase
- func GetManagedInstanceDatabaseContextE(ctx context.Context, subscriptionID string, resGroupName string, ...) (*armsql.ManagedDatabase, error)
- func GetManagedInstanceDatabaseE(t testing.TestingT, subscriptionID string, resGroupName string, ...) (*armsql.ManagedDatabase, error)deprecated
- func GetManagedInstanceDatabaseWithClient(ctx context.Context, client *armsql.ManagedDatabasesClient, ...) (*armsql.ManagedDatabase, error)
- func GetManagedInstanceE(subscriptionID string, resGroupName string, managedInstanceName string) (*armsql.ManagedInstance, error)deprecated
- func GetManagedInstanceWithClient(ctx context.Context, client *armsql.ManagedInstancesClient, ...) (*armsql.ManagedInstance, error)
- func GetNameFromResourceID(resourceID string) string
- func GetNameFromResourceIDE(resourceID string) (string, error)
- func GetNetworkInterfaceClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.InterfacesClient, error)
- func GetNetworkInterfaceClientE(subscriptionID string) (*armnetwork.InterfacesClient, error)deprecated
- func GetNetworkInterfaceConfigurationClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.InterfaceIPConfigurationsClient, error)
- func GetNetworkInterfaceConfigurationClientE(subscriptionID string) (*armnetwork.InterfaceIPConfigurationsClient, error)deprecated
- func GetNetworkInterfaceConfigurationContextE(ctx context.Context, nicName string, nicConfigName string, resGroupName string, ...) (*armnetwork.InterfaceIPConfiguration, error)
- func GetNetworkInterfaceConfigurationE(nicName string, nicConfigName string, resGroupName string, ...) (*armnetwork.InterfaceIPConfiguration, error)deprecated
- func GetNetworkInterfaceContextE(ctx context.Context, nicName string, resGroupName string, ...) (*armnetwork.Interface, error)
- func GetNetworkInterfaceE(nicName string, resGroupName string, subscriptionID string) (*armnetwork.Interface, error)deprecated
- func GetNetworkInterfacePrivateIPs(t testing.TestingT, nicName string, resGroupName string, subscriptionID string) []stringdeprecated
- func GetNetworkInterfacePrivateIPsContext(t testing.TestingT, ctx context.Context, nicName string, resGroupName string, ...) []string
- func GetNetworkInterfacePrivateIPsContextE(ctx context.Context, nicName string, resGroupName string, ...) ([]string, error)
- func GetNetworkInterfacePrivateIPsE(nicName string, resGroupName string, subscriptionID string) ([]string, error)deprecated
- func GetNetworkInterfacePublicIPs(t testing.TestingT, nicName string, resGroupName string, subscriptionID string) []stringdeprecated
- func GetNetworkInterfacePublicIPsContext(t testing.TestingT, ctx context.Context, nicName string, resGroupName string, ...) []string
- func GetNetworkInterfacePublicIPsContextE(ctx context.Context, nicName string, resGroupName string, ...) ([]string, error)
- func GetNetworkInterfacePublicIPsE(nicName string, resGroupName string, subscriptionID string) ([]string, error)deprecated
- func GetNetworkInterfaceWithClient(ctx context.Context, client *armnetwork.InterfacesClient, resGroupName string, ...) (*armnetwork.Interface, error)
- func GetPostgreSQLDB(t testing.TestingT, resGroupName string, serverName string, dbName string, ...) *armpostgresql.Databasedeprecated
- func GetPostgreSQLDBClientContextE(_ context.Context, subscriptionID string) (*armpostgresql.DatabasesClient, error)
- func GetPostgreSQLDBClientE(subscriptionID string) (*armpostgresql.DatabasesClient, error)deprecated
- func GetPostgreSQLDBContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) *armpostgresql.Database
- func GetPostgreSQLDBContextE(t testing.TestingT, ctx context.Context, subscriptionID string, ...) (*armpostgresql.Database, error)
- func GetPostgreSQLDBE(t testing.TestingT, subscriptionID string, resGroupName string, ...) (*armpostgresql.Database, error)deprecated
- func GetPostgreSQLDBWithClient(ctx context.Context, client *armpostgresql.DatabasesClient, ...) (*armpostgresql.Database, error)
- func GetPostgreSQLServer(t testing.TestingT, resGroupName string, serverName string, ...) *armpostgresql.Serverdeprecated
- func GetPostgreSQLServerClientContextE(_ context.Context, subscriptionID string) (*armpostgresql.ServersClient, error)
- func GetPostgreSQLServerClientE(subscriptionID string) (*armpostgresql.ServersClient, error)deprecated
- func GetPostgreSQLServerContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) *armpostgresql.Server
- func GetPostgreSQLServerContextE(t testing.TestingT, ctx context.Context, subscriptionID string, ...) (*armpostgresql.Server, error)
- func GetPostgreSQLServerE(t testing.TestingT, subscriptionID string, resGroupName string, ...) (*armpostgresql.Server, error)deprecated
- func GetPostgreSQLServerWithClient(ctx context.Context, client *armpostgresql.ServersClient, resGroupName string, ...) (*armpostgresql.Server, error)
- func GetPrivateDNSZoneContextE(ctx context.Context, zoneName string, resGroupName string, ...) (*armprivatedns.PrivateZone, error)
- func GetPrivateDNSZoneWithClient(ctx context.Context, client *armprivatedns.PrivateZonesClient, ...) (*armprivatedns.PrivateZone, error)
- func GetPublicIPAddressClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.PublicIPAddressesClient, error)
- func GetPublicIPAddressClientE(subscriptionID string) (*armnetwork.PublicIPAddressesClient, error)deprecated
- func GetPublicIPAddressContextE(ctx context.Context, publicIPAddressName string, resGroupName string, ...) (*armnetwork.PublicIPAddress, error)
- func GetPublicIPAddressE(publicIPAddressName string, resGroupName string, subscriptionID string) (*armnetwork.PublicIPAddress, error)deprecated
- func GetPublicIPAddressWithClient(ctx context.Context, client *armnetwork.PublicIPAddressesClient, ...) (*armnetwork.PublicIPAddress, error)
- func GetRandomRegion(t testing.TestingT, approvedRegions []string, forbiddenRegions []string, ...) stringdeprecated
- func GetRandomRegionContext(t testing.TestingT, ctx context.Context, approvedRegions []string, ...) string
- func GetRandomRegionContextE(t testing.TestingT, ctx context.Context, approvedRegions []string, ...) (string, error)
- func GetRandomRegionE(t testing.TestingT, approvedRegions []string, forbiddenRegions []string, ...) (string, error)deprecated
- func GetRandomStableRegion(t testing.TestingT, approvedRegions []string, forbiddenRegions []string, ...) stringdeprecated
- func GetRandomStableRegionContext(t testing.TestingT, ctx context.Context, approvedRegions []string, ...) string
- func GetRecoveryServicesVaultBackupPolicyList(t testing.TestingT, vaultName, resourceGroupName, subscriptionID string) map[string]armrecoveryservicesbackup.ProtectionPolicyResourcedeprecated
- func GetRecoveryServicesVaultBackupPolicyListContext(t testing.TestingT, ctx context.Context, ...) map[string]armrecoveryservicesbackup.ProtectionPolicyResource
- func GetRecoveryServicesVaultBackupPolicyListContextE(ctx context.Context, vaultName, resourceGroupName, subscriptionID string) (map[string]armrecoveryservicesbackup.ProtectionPolicyResource, error)
- func GetRecoveryServicesVaultBackupPolicyListE(vaultName, resourceGroupName, subscriptionID string) (map[string]armrecoveryservicesbackup.ProtectionPolicyResource, error)deprecated
- func GetRecoveryServicesVaultBackupProtectedVMList(t testing.TestingT, ...) map[string]armrecoveryservicesbackup.AzureIaaSComputeVMProtectedItemdeprecated
- func GetRecoveryServicesVaultBackupProtectedVMListContext(t testing.TestingT, ctx context.Context, ...) map[string]armrecoveryservicesbackup.AzureIaaSComputeVMProtectedItem
- func GetRecoveryServicesVaultBackupProtectedVMListContextE(ctx context.Context, ...) (map[string]armrecoveryservicesbackup.AzureIaaSComputeVMProtectedItem, error)
- func GetRecoveryServicesVaultBackupProtectedVMListE(policyName, vaultName, resourceGroupName, subscriptionID string) (map[string]armrecoveryservicesbackup.AzureIaaSComputeVMProtectedItem, error)deprecated
- func GetRecoveryServicesVaultContextE(ctx context.Context, vaultName, resourceGroupName, subscriptionID string) (*armrecoveryservices.Vault, error)
- func GetRecoveryServicesVaultE(vaultName, resourceGroupName, subscriptionID string) (*armrecoveryservices.Vault, error)deprecated
- func GetRecoveryServicesVaultWithClient(ctx context.Context, client *armrecoveryservices.VaultsClient, ...) (*armrecoveryservices.Vault, error)
- func GetResourceGroupContextE(ctx context.Context, resourceGroupName, subscriptionID string) (bool, error)
- func GetResourceGroupE(resourceGroupName, subscriptionID string) (bool, error)deprecated
- func GetSQLDatabase(t testing.TestingT, resGroupName string, serverName string, dbName string, ...) *armsql.Databasedeprecated
- func GetSQLDatabaseContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) *armsql.Database
- func GetSQLDatabaseContextE(t testing.TestingT, ctx context.Context, subscriptionID string, ...) (*armsql.Database, error)
- func GetSQLDatabaseE(t testing.TestingT, subscriptionID string, resGroupName string, ...) (*armsql.Database, error)deprecated
- func GetSQLDatabaseWithClient(ctx context.Context, client *armsql.DatabasesClient, resGroupName string, ...) (*armsql.Database, error)
- func GetSQLServer(t testing.TestingT, resGroupName string, serverName string, ...) *armsql.Serverdeprecated
- func GetSQLServerClient(subscriptionID string) (*armsql.ServersClient, error)deprecated
- func GetSQLServerClientContext(ctx context.Context, subscriptionID string) (*armsql.ServersClient, error)
- func GetSQLServerContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) *armsql.Server
- func GetSQLServerContextE(t testing.TestingT, ctx context.Context, subscriptionID string, ...) (*armsql.Server, error)
- func GetSQLServerE(t testing.TestingT, subscriptionID string, resGroupName string, ...) (*armsql.Server, error)deprecated
- func GetSQLServerWithClient(ctx context.Context, client *armsql.ServersClient, resGroupName string, ...) (*armsql.Server, error)
- func GetSizeOfVirtualMachine(t testing.TestingT, vmName string, resGroupName string, subscriptionID string) armcompute.VirtualMachineSizeTypesdeprecated
- func GetSizeOfVirtualMachineContext(t testing.TestingT, ctx context.Context, vmName string, resGroupName string, ...) armcompute.VirtualMachineSizeTypes
- func GetSizeOfVirtualMachineContextE(ctx context.Context, vmName string, resGroupName string, subscriptionID string) (armcompute.VirtualMachineSizeTypes, error)
- func GetSizeOfVirtualMachineE(vmName string, resGroupName string, subscriptionID string) (armcompute.VirtualMachineSizeTypes, error)deprecated
- func GetStorageAccountContextE(ctx context.Context, ...) (*armstorage.Account, error)
- func GetStorageAccountE(storageAccountName, resourceGroupName, subscriptionID string) (*armstorage.Account, error)deprecated
- func GetStorageAccountKind(t testing.TestingT, storageAccountName string, resourceGroupName string, ...) stringdeprecated
- func GetStorageAccountKindContext(t testing.TestingT, ctx context.Context, storageAccountName string, ...) string
- func GetStorageAccountKindContextE(ctx context.Context, ...) (string, error)
- func GetStorageAccountKindE(storageAccountName string, resourceGroupName string, subscriptionID string) (string, error)deprecated
- func GetStorageAccountPrimaryBlobEndpointContextE(ctx context.Context, ...) (string, error)
- func GetStorageAccountPrimaryBlobEndpointE(storageAccountName, resourceGroupName, subscriptionID string) (string, error)deprecated
- func GetStorageAccountPropertyContextE(ctx context.Context, ...) (*armstorage.Account, error)
- func GetStorageAccountPropertyE(storageAccountName, resourceGroupName, subscriptionID string) (*armstorage.Account, error)deprecated
- func GetStorageAccountSkuTier(t testing.TestingT, storageAccountName string, resourceGroupName string, ...) stringdeprecated
- func GetStorageAccountSkuTierContext(t testing.TestingT, ctx context.Context, storageAccountName string, ...) string
- func GetStorageAccountSkuTierContextE(ctx context.Context, ...) (string, error)
- func GetStorageAccountSkuTierE(storageAccountName string, resourceGroupName string, subscriptionID string) (string, error)deprecated
- func GetStorageBlobContainerContextE(ctx context.Context, ...) (*armstorage.BlobContainer, error)
- func GetStorageBlobContainerE(containerName, storageAccountName, resourceGroupName, subscriptionID string) (*armstorage.BlobContainer, error)deprecated
- func GetStorageBlobContainerPublicAccess(t testing.TestingT, containerName string, storageAccountName string, ...) booldeprecated
- func GetStorageBlobContainerPublicAccessContext(t testing.TestingT, ctx context.Context, containerName string, ...) bool
- func GetStorageBlobContainerPublicAccessContextE(ctx context.Context, ...) (bool, error)
- func GetStorageBlobContainerPublicAccessE(containerName string, storageAccountName string, resourceGroupName string, ...) (bool, error)deprecated
- func GetStorageDNSString(t testing.TestingT, storageAccountName string, resourceGroupName string, ...) stringdeprecated
- func GetStorageDNSStringContext(t testing.TestingT, ctx context.Context, storageAccountName string, ...) string
- func GetStorageDNSStringContextE(ctx context.Context, ...) (string, error)
- func GetStorageDNSStringE(storageAccountName string, resourceGroupName string, subscriptionID string) (string, error)deprecated
- func GetStorageFileShare(t testing.TestingT, ...) *armstorage.FileSharedeprecated
- func GetStorageFileShareContext(t testing.TestingT, ctx context.Context, ...) *armstorage.FileShare
- func GetStorageFileShareContextE(ctx context.Context, ...) (*armstorage.FileShare, error)
- func GetStorageFileShareE(fileShareName, storageAccountName, resourceGroupName, subscriptionID string) (*armstorage.FileShare, error)deprecated
- func GetStorageURISuffixContextE(_ context.Context) (string, error)
- func GetStorageURISuffixE() (string, error)deprecated
- func GetSubnetClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.SubnetsClient, error)
- func GetSubnetClientE(subscriptionID string) (*armnetwork.SubnetsClient, error)deprecated
- func GetSubnetContextE(ctx context.Context, subnetName string, vnetName string, resGroupName string, ...) (*armnetwork.Subnet, error)
- func GetSubnetE(subnetName string, vnetName string, resGroupName string, subscriptionID string) (*armnetwork.Subnet, error)deprecated
- func GetSubnetWithClient(ctx context.Context, client *armnetwork.SubnetsClient, resGroupName string, ...) (*armnetwork.Subnet, error)
- func GetSubscriptionClientContextE(ctx context.Context) (*armsubscriptions.Client, error)deprecated
- func GetSubscriptionClientE() (*armsubscriptions.Client, error)deprecated
- func GetSynapseSQLPool(t testing.TestingT, resGroupName string, workspaceName string, ...) *armsynapse.SQLPooldeprecated
- func GetSynapseSQLPoolContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) *armsynapse.SQLPool
- func GetSynapseSQLPoolContextE(ctx context.Context, subscriptionID string, resGroupName string, ...) (*armsynapse.SQLPool, error)
- func GetSynapseSQLPoolE(subscriptionID string, resGroupName string, workspaceName string, ...) (*armsynapse.SQLPool, error)deprecated
- func GetSynapseSQLPoolWithClient(ctx context.Context, client *armsynapse.SQLPoolsClient, resGroupName string, ...) (*armsynapse.SQLPool, error)
- func GetSynapseSqlPool(t testing.TestingT, resGroupName string, workspaceName string, ...) *armsynapse.SQLPool
- func GetSynapseSqlPoolE(t testing.TestingT, subscriptionID string, resGroupName string, ...) (*armsynapse.SQLPool, error)
- func GetSynapseWorkspace(t testing.TestingT, resGroupName string, workspaceName string, ...) *armsynapse.Workspacedeprecated
- func GetSynapseWorkspaceContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) *armsynapse.Workspace
- func GetSynapseWorkspaceContextE(ctx context.Context, subscriptionID string, resGroupName string, ...) (*armsynapse.Workspace, error)
- func GetSynapseWorkspaceE(t testing.TestingT, subscriptionID string, resGroupName string, ...) (*armsynapse.Workspace, error)deprecated
- func GetSynapseWorkspaceWithClient(ctx context.Context, client *armsynapse.WorkspacesClient, resGroupName string, ...) (*armsynapse.Workspace, error)
- func GetVMInsightsOnboardingStatus(t testing.TestingT, resourceURI string, subscriptionID string) *armmonitor.VMInsightsOnboardingStatusdeprecated
- func GetVMInsightsOnboardingStatusContext(t testing.TestingT, ctx context.Context, resourceURI string, ...) *armmonitor.VMInsightsOnboardingStatus
- func GetVMInsightsOnboardingStatusContextE(t testing.TestingT, ctx context.Context, resourceURI string, ...) (*armmonitor.VMInsightsOnboardingStatus, error)
- func GetVMInsightsOnboardingStatusE(t testing.TestingT, resourceURI string, subscriptionID string) (*armmonitor.VMInsightsOnboardingStatus, error)deprecated
- func GetVMInsightsOnboardingStatusWithClient(ctx context.Context, client *armmonitor.VMInsightsClient, resourceURI string) (*armmonitor.VMInsightsOnboardingStatus, error)
- func GetVirtualMachine(t testing.TestingT, vmName string, resGroupName string, subscriptionID string) *armcompute.VirtualMachinedeprecated
- func GetVirtualMachineAvailabilitySetID(t testing.TestingT, vmName string, resGroupName string, subscriptionID string) stringdeprecated
- func GetVirtualMachineAvailabilitySetIDContext(t testing.TestingT, ctx context.Context, vmName string, resGroupName string, ...) string
- func GetVirtualMachineAvailabilitySetIDContextE(ctx context.Context, vmName string, resGroupName string, subscriptionID string) (string, error)
- func GetVirtualMachineAvailabilitySetIDE(vmName string, resGroupName string, subscriptionID string) (string, error)deprecated
- func GetVirtualMachineClient(t testing.TestingT, subscriptionID string) *armcompute.VirtualMachinesClientdeprecated
- func GetVirtualMachineClientContext(t testing.TestingT, ctx context.Context, subscriptionID string) *armcompute.VirtualMachinesClient
- func GetVirtualMachineClientContextE(ctx context.Context, subscriptionID string) (*armcompute.VirtualMachinesClient, error)
- func GetVirtualMachineClientE(subscriptionID string) (*armcompute.VirtualMachinesClient, error)deprecated
- func GetVirtualMachineContext(t testing.TestingT, ctx context.Context, vmName string, resGroupName string, ...) *armcompute.VirtualMachine
- func GetVirtualMachineContextE(ctx context.Context, vmName string, resGroupName string, subscriptionID string) (*armcompute.VirtualMachine, error)
- func GetVirtualMachineE(vmName string, resGroupName string, subscriptionID string) (*armcompute.VirtualMachine, error)deprecated
- func GetVirtualMachineManagedDisks(t testing.TestingT, vmName string, resGroupName string, subscriptionID string) []stringdeprecated
- func GetVirtualMachineManagedDisksContext(t testing.TestingT, ctx context.Context, vmName string, resGroupName string, ...) []string
- func GetVirtualMachineManagedDisksContextE(ctx context.Context, vmName string, resGroupName string, subscriptionID string) ([]string, error)
- func GetVirtualMachineManagedDisksE(vmName string, resGroupName string, subscriptionID string) ([]string, error)deprecated
- func GetVirtualMachineNics(t testing.TestingT, vmName string, resGroupName string, subscriptionID string) []stringdeprecated
- func GetVirtualMachineNicsContext(t testing.TestingT, ctx context.Context, vmName string, resGroupName string, ...) []string
- func GetVirtualMachineNicsContextE(ctx context.Context, vmName string, resGroupName string, subscriptionID string) ([]string, error)
- func GetVirtualMachineNicsE(vmName string, resGroupName string, subscriptionID string) ([]string, error)deprecated
- func GetVirtualMachineOSDiskName(t testing.TestingT, vmName string, resGroupName string, subscriptionID string) stringdeprecated
- func GetVirtualMachineOSDiskNameContext(t testing.TestingT, ctx context.Context, vmName string, resGroupName string, ...) string
- func GetVirtualMachineOSDiskNameContextE(ctx context.Context, vmName string, resGroupName string, subscriptionID string) (string, error)
- func GetVirtualMachineOSDiskNameE(vmName string, resGroupName string, subscriptionID string) (string, error)deprecated
- func GetVirtualMachineTags(t testing.TestingT, vmName string, resGroupName string, subscriptionID string) map[string]stringdeprecated
- func GetVirtualMachineTagsContext(t testing.TestingT, ctx context.Context, vmName string, resGroupName string, ...) map[string]string
- func GetVirtualMachineTagsContextE(ctx context.Context, vmName string, resGroupName string, subscriptionID string) (map[string]string, error)
- func GetVirtualMachineTagsE(vmName string, resGroupName string, subscriptionID string) (map[string]string, error)deprecated
- func GetVirtualMachineWithClient(ctx context.Context, client *armcompute.VirtualMachinesClient, ...) (*armcompute.VirtualMachine, error)
- func GetVirtualMachinesForResourceGroup(t testing.TestingT, resGroupName string, subscriptionID string) map[string]armcompute.VirtualMachinePropertiesdeprecated
- func GetVirtualMachinesForResourceGroupContext(t testing.TestingT, ctx context.Context, resGroupName string, ...) map[string]armcompute.VirtualMachineProperties
- func GetVirtualMachinesForResourceGroupContextE(ctx context.Context, resourceGroupName string, subscriptionID string) (map[string]armcompute.VirtualMachineProperties, error)
- func GetVirtualMachinesForResourceGroupE(resGroupName string, subscriptionID string) (map[string]armcompute.VirtualMachineProperties, error)deprecated
- func GetVirtualMachinesForResourceGroupWithClient(ctx context.Context, client *armcompute.VirtualMachinesClient, ...) (map[string]armcompute.VirtualMachineProperties, error)
- func GetVirtualNetworkContextE(ctx context.Context, vnetName string, resGroupName string, ...) (*armnetwork.VirtualNetwork, error)
- func GetVirtualNetworkDNSServerIPs(t testing.TestingT, vnetName string, resGroupName string, ...) []stringdeprecated
- func GetVirtualNetworkDNSServerIPsContext(t testing.TestingT, ctx context.Context, vnetName string, resGroupName string, ...) []string
- func GetVirtualNetworkDNSServerIPsContextE(ctx context.Context, vnetName string, resGroupName string, ...) ([]string, error)
- func GetVirtualNetworkDNSServerIPsE(vnetName string, resGroupName string, subscriptionID string) ([]string, error)deprecated
- func GetVirtualNetworkE(vnetName string, resGroupName string, subscriptionID string) (*armnetwork.VirtualNetwork, error)deprecated
- func GetVirtualNetworkSubnets(t testing.TestingT, vnetName string, resGroupName string, ...) map[string]stringdeprecated
- func GetVirtualNetworkSubnetsContext(t testing.TestingT, ctx context.Context, vnetName string, resGroupName string, ...) map[string]string
- func GetVirtualNetworkSubnetsContextE(ctx context.Context, vnetName string, resGroupName string, ...) (map[string]string, error)
- func GetVirtualNetworkSubnetsE(vnetName string, resGroupName string, subscriptionID string) (map[string]string, error)deprecated
- func GetVirtualNetworkSubnetsWithClient(ctx context.Context, client *armnetwork.SubnetsClient, resGroupName string, ...) (map[string]string, error)
- func GetVirtualNetworkWithClient(ctx context.Context, client *armnetwork.VirtualNetworksClient, ...) (*armnetwork.VirtualNetwork, error)
- func GetVirtualNetworksClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.VirtualNetworksClient, error)
- func GetVirtualNetworksClientE(subscriptionID string) (*armnetwork.VirtualNetworksClient, error)deprecated
- func KeyVaultCertificateExists(t testing.TestingT, keyVaultName string, certificateName string) booldeprecated
- func KeyVaultCertificateExistsContext(t testing.TestingT, ctx context.Context, keyVaultName string, ...) bool
- func KeyVaultCertificateExistsContextE(ctx context.Context, keyVaultName, certificateName string) (bool, error)
- func KeyVaultCertificateExistsE(keyVaultName, certificateName string) (bool, error)deprecated
- func KeyVaultKeyExists(t testing.TestingT, keyVaultName string, keyName string) booldeprecated
- func KeyVaultKeyExistsContext(t testing.TestingT, ctx context.Context, keyVaultName string, keyName string) bool
- func KeyVaultKeyExistsContextE(ctx context.Context, keyVaultName, keyName string) (bool, error)
- func KeyVaultKeyExistsE(keyVaultName, keyName string) (bool, error)deprecated
- func KeyVaultSecretExists(t testing.TestingT, keyVaultName string, secretName string) booldeprecated
- func KeyVaultSecretExistsContext(t testing.TestingT, ctx context.Context, keyVaultName string, ...) bool
- func KeyVaultSecretExistsContextE(ctx context.Context, keyVaultName, secretName string) (bool, error)
- func KeyVaultSecretExistsE(keyVaultName, secretName string) (bool, error)deprecated
- func ListMySQLDB(t testing.TestingT, resGroupName string, serverName string, ...) []*armmysql.Databasedeprecated
- func ListMySQLDBContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) []*armmysql.Database
- func ListMySQLDBContextE(t testing.TestingT, ctx context.Context, subscriptionID string, ...) ([]*armmysql.Database, error)
- func ListMySQLDBE(t testing.TestingT, subscriptionID string, resGroupName string, ...) ([]*armmysql.Database, error)deprecated
- func ListMySQLDBWithClient(ctx context.Context, client *armmysql.DatabasesClient, resGroupName string, ...) ([]*armmysql.Database, error)
- func ListNamespaceAuthRulesContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) []string
- func ListNamespaceAuthRulesContextE(ctx context.Context, subscriptionID string, namespace string, ...) ([]string, error)
- func ListNamespaceTopicsContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) []*armservicebus.SBTopic
- func ListNamespaceTopicsContextE(ctx context.Context, subscriptionID string, namespace string, ...) ([]*armservicebus.SBTopic, error)
- func ListPostgreSQLDB(t testing.TestingT, subscriptionID string, resGroupName string, ...) []*armpostgresql.Databasedeprecated
- func ListPostgreSQLDBContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) []*armpostgresql.Database
- func ListPostgreSQLDBContextE(t testing.TestingT, ctx context.Context, subscriptionID string, ...) ([]*armpostgresql.Database, error)
- func ListPostgreSQLDBE(t testing.TestingT, subscriptionID string, resGroupName string, ...) ([]*armpostgresql.Database, error)deprecated
- func ListPostgreSQLDBWithClient(ctx context.Context, client *armpostgresql.DatabasesClient, ...) ([]*armpostgresql.Database, error)
- func ListResourceGroupsByTag(t testing.TestingT, tag, subscriptionID string) []*armresources.ResourceGroupdeprecated
- func ListResourceGroupsByTagContext(t testing.TestingT, ctx context.Context, tag, subscriptionID string) []*armresources.ResourceGroup
- func ListResourceGroupsByTagContextE(ctx context.Context, tag string, subscriptionID string) ([]*armresources.ResourceGroup, error)
- func ListResourceGroupsByTagE(tag string, subscriptionID string) ([]*armresources.ResourceGroup, error)deprecated
- func ListResourceGroupsByTagWithClient(ctx context.Context, client *armresources.ResourceGroupsClient, tag string) ([]*armresources.ResourceGroup, error)
- func ListSQLServerDatabases(t testing.TestingT, resGroupName string, serverName string, ...) []*armsql.Databasedeprecated
- func ListSQLServerDatabasesContext(t testing.TestingT, ctx context.Context, resGroupName string, ...) []*armsql.Database
- func ListSQLServerDatabasesContextE(t testing.TestingT, ctx context.Context, resGroupName string, ...) ([]*armsql.Database, error)
- func ListSQLServerDatabasesE(t testing.TestingT, resGroupName string, serverName string, ...) ([]*armsql.Database, error)deprecated
- func ListSQLServerDatabasesWithClient(ctx context.Context, client *armsql.DatabasesClient, resGroupName string, ...) ([]*armsql.Database, error)
- func ListServiceBusNamespaceByResourceGroupContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) []*armservicebus.SBNamespace
- func ListServiceBusNamespaceByResourceGroupContextE(ctx context.Context, subscriptionID string, resourceGroup string) ([]*armservicebus.SBNamespace, error)
- func ListServiceBusNamespaceContext(t testing.TestingT, ctx context.Context, subscriptionID string) []*armservicebus.SBNamespace
- func ListServiceBusNamespaceContextE(ctx context.Context, subscriptionID string) ([]*armservicebus.SBNamespace, error)
- func ListServiceBusNamespaceIDsByResourceGroupContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) []string
- func ListServiceBusNamespaceIDsByResourceGroupContextE(ctx context.Context, subscriptionID string, resourceGroup string) ([]string, error)
- func ListServiceBusNamespaceIDsContext(t testing.TestingT, ctx context.Context, subscriptionID string) []string
- func ListServiceBusNamespaceIDsContextE(ctx context.Context, subscriptionID string) ([]string, error)
- func ListServiceBusNamespaceNamesByResourceGroupContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) []string
- func ListServiceBusNamespaceNamesByResourceGroupContextE(ctx context.Context, subscriptionID string, resourceGroup string) ([]string, error)
- func ListServiceBusNamespaceNamesContext(t testing.TestingT, ctx context.Context, subscriptionID string) []string
- func ListServiceBusNamespaceNamesContextE(ctx context.Context, subscriptionID string) ([]string, error)
- func ListServiceBusNamespaceWithClient(ctx context.Context, client *armservicebus.NamespacesClient) ([]*armservicebus.SBNamespace, error)
- func ListTopicAuthRulesContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) []string
- func ListTopicAuthRulesContextE(ctx context.Context, subscriptionID string, namespace string, ...) ([]string, error)
- func ListTopicSubscriptionsContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) []*armservicebus.SBSubscription
- func ListTopicSubscriptionsContextE(ctx context.Context, subscriptionID string, namespace string, ...) ([]*armservicebus.SBSubscription, error)
- func ListTopicSubscriptionsNameContext(t testing.TestingT, ctx context.Context, subscriptionID string, ...) []string
- func ListTopicSubscriptionsNameContextE(ctx context.Context, subscriptionID string, namespace string, ...) ([]string, error)
- func ListVirtualMachinesForResourceGroup(t testing.TestingT, resGroupName string, subscriptionID string) []stringdeprecated
- func ListVirtualMachinesForResourceGroupContext(t testing.TestingT, ctx context.Context, resGroupName string, ...) []string
- func ListVirtualMachinesForResourceGroupContextE(ctx context.Context, resourceGroupName string, subscriptionID string) ([]string, error)
- func ListVirtualMachinesForResourceGroupE(resGroupName string, subscriptionID string) ([]string, error)deprecated
- func ListVirtualMachinesForResourceGroupWithClient(ctx context.Context, client *armcompute.VirtualMachinesClient, ...) ([]string, error)
- func LoadBalancerExists(t testing.TestingT, loadBalancerName string, resourceGroupName string, ...) booldeprecated
- func LoadBalancerExistsContext(t testing.TestingT, ctx context.Context, loadBalancerName string, ...) bool
- func LoadBalancerExistsContextE(ctx context.Context, loadBalancerName string, resourceGroupName string, ...) (bool, error)
- func LoadBalancerExistsE(loadBalancerName string, resourceGroupName string, subscriptionID string) (bool, error)deprecated
- func LogAnalyticsWorkspaceExists(t testing.TestingT, workspaceName string, resourceGroupName string, ...) booldeprecated
- func LogAnalyticsWorkspaceExistsContext(t testing.TestingT, ctx context.Context, workspaceName string, ...) bool
- func LogAnalyticsWorkspaceExistsContextE(ctx context.Context, workspaceName string, resourceGroupName string, ...) (bool, error)
- func LogAnalyticsWorkspaceExistsE(workspaceName string, resourceGroupName string, subscriptionID string) (bool, error)deprecated
- func ManagedEnvironmentExists(t testing.TestingT, environmentName string, resourceGroupName string, ...) booldeprecated
- func ManagedEnvironmentExistsContext(t testing.TestingT, ctx context.Context, environmentName string, ...) bool
- func ManagedEnvironmentExistsContextE(ctx context.Context, environmentName string, resourceGroupName string, ...) (bool, error)
- func ManagedEnvironmentExistsE(environmentName string, resourceGroupName string, subscriptionID string) (bool, error)deprecated
- func NetworkInterfaceExists(t testing.TestingT, nicName string, resGroupName string, subscriptionID string) booldeprecated
- func NetworkInterfaceExistsContext(t testing.TestingT, ctx context.Context, nicName string, resGroupName string, ...) bool
- func NetworkInterfaceExistsContextE(ctx context.Context, nicName string, resGroupName string, ...) (bool, error)
- func NetworkInterfaceExistsE(nicName string, resGroupName string, subscriptionID string) (bool, error)deprecated
- func NewAzureCredentialE() (*azidentity.DefaultAzureCredential, error)
- func PrivateDNSZoneExistsContextE(ctx context.Context, zoneName string, resourceGroupName string, ...) (bool, error)
- func PublicAddressExists(t testing.TestingT, publicAddressName string, resGroupName string, ...) booldeprecated
- func PublicAddressExistsContext(t testing.TestingT, ctx context.Context, publicAddressName string, ...) bool
- func PublicAddressExistsContextE(ctx context.Context, publicAddressName string, resGroupName string, ...) (bool, error)
- func PublicAddressExistsE(publicAddressName string, resGroupName string, subscriptionID string) (bool, error)deprecated
- func RecoveryServicesVaultExists(t testing.TestingT, vaultName, resourceGroupName, subscriptionID string) booldeprecated
- func RecoveryServicesVaultExistsContext(t testing.TestingT, ctx context.Context, ...) bool
- func RecoveryServicesVaultExistsContextE(ctx context.Context, vaultName, resourceGroupName, subscriptionID string) (bool, error)
- func RecoveryServicesVaultExistsE(vaultName, resourceGroupName, subscriptionID string) (bool, error)deprecated
- func ResourceGroupExists(t testing.TestingT, resourceGroupName string, subscriptionID string) booldeprecated
- func ResourceGroupExistsContext(t testing.TestingT, ctx context.Context, resourceGroupName string, ...) bool
- func ResourceGroupExistsContextE(ctx context.Context, resourceGroupName, subscriptionID string) (bool, error)
- func ResourceGroupExistsE(resourceGroupName, subscriptionID string) (bool, error)deprecated
- func ResourceNotFoundErrorExists(err error) bool
- func SQLManagedInstanceExists(t testing.TestingT, managedInstanceName string, resourceGroupName string, ...) booldeprecated
- func SQLManagedInstanceExistsContext(t testing.TestingT, ctx context.Context, managedInstanceName string, ...) bool
- func SQLManagedInstanceExistsContextE(ctx context.Context, managedInstanceName string, resourceGroupName string, ...) (bool, error)
- func SQLManagedInstanceExistsE(managedInstanceName string, resourceGroupName string, subscriptionID string) (bool, error)deprecated
- func StorageAccountExists(t testing.TestingT, storageAccountName string, resourceGroupName string, ...) booldeprecated
- func StorageAccountExistsContext(t testing.TestingT, ctx context.Context, storageAccountName string, ...) bool
- func StorageAccountExistsContextE(ctx context.Context, ...) (bool, error)
- func StorageAccountExistsE(storageAccountName string, resourceGroupName string, subscriptionID string) (bool, error)deprecated
- func StorageBlobContainerExists(t testing.TestingT, containerName string, storageAccountName string, ...) booldeprecated
- func StorageBlobContainerExistsContext(t testing.TestingT, ctx context.Context, containerName string, ...) bool
- func StorageBlobContainerExistsContextE(ctx context.Context, ...) (bool, error)
- func StorageBlobContainerExistsE(containerName string, storageAccountName string, resourceGroupName string, ...) (bool, error)deprecated
- func StorageFileShareExists(t testing.TestingT, fileShareName string, storageAccountName string, ...) booldeprecated
- func StorageFileShareExistsContext(t testing.TestingT, ctx context.Context, fileShareName string, ...) bool
- func StorageFileShareExistsContextE(ctx context.Context, fileShareName string, storageAccountName string, ...) (bool, error)
- func StorageFileShareExistsE(fileShareName string, storageAccountName string, resourceGroupName string, ...) (bool, error)deprecated
- func SubnetExists(t testing.TestingT, subnetName string, vnetName string, resGroupName string, ...) booldeprecated
- func SubnetExistsContext(t testing.TestingT, ctx context.Context, subnetName string, vnetName string, ...) bool
- func SubnetExistsContextE(ctx context.Context, subnetName string, vnetName string, resGroupName string, ...) (bool, error)
- func SubnetExistsE(subnetName string, vnetName string, resGroupName string, subscriptionID string) (bool, error)deprecated
- func VirtualMachineExists(t testing.TestingT, vmName string, resGroupName string, subscriptionID string) booldeprecated
- func VirtualMachineExistsContext(t testing.TestingT, ctx context.Context, vmName string, resGroupName string, ...) bool
- func VirtualMachineExistsContextE(ctx context.Context, vmName string, resGroupName string, subscriptionID string) (bool, error)
- func VirtualMachineExistsE(vmName string, resGroupName string, subscriptionID string) (bool, error)deprecated
- func VirtualNetworkExists(t testing.TestingT, vnetName string, resGroupName string, ...) booldeprecated
- func VirtualNetworkExistsContext(t testing.TestingT, ctx context.Context, vnetName string, resGroupName string, ...) bool
- func VirtualNetworkExistsContextE(ctx context.Context, vnetName string, resGroupName string, ...) (bool, error)
- func VirtualNetworkExistsE(vnetName string, resGroupName string, subscriptionID string) (bool, error)deprecated
- type FailedToParseError
- type Instance
- type LoadBalancerIPType
- func GetIPOfLoadBalancerFrontendIPConfig(t testing.TestingT, feConfigName string, loadBalancerName string, ...) (ipAddress string, publicOrPrivate LoadBalancerIPType)deprecated
- func GetIPOfLoadBalancerFrontendIPConfigContext(t testing.TestingT, ctx context.Context, feConfigName string, ...) (ipAddress string, publicOrPrivate LoadBalancerIPType)
- func GetIPOfLoadBalancerFrontendIPConfigContextE(ctx context.Context, feConfigName string, loadBalancerName string, ...) (ipAddress string, publicOrPrivate LoadBalancerIPType, err1 error)
- func GetIPOfLoadBalancerFrontendIPConfigE(feConfigName string, loadBalancerName string, resourceGroupName string, ...) (ipAddress string, publicOrPrivate LoadBalancerIPType, err1 error)deprecated
- func GetIPOfLoadBalancerFrontendIPConfigWithClient(ctx context.Context, feConfig *armnetwork.FrontendIPConfiguration, ...) (string, LoadBalancerIPType, error)
- type NotFoundError
- type NsgRuleSummary
- type NsgRuleSummaryList
- func GetAllNSGRules(t testing.TestingT, resourceGroupName, nsgName, subscriptionID string) NsgRuleSummaryListdeprecated
- func GetAllNSGRulesContext(t testing.TestingT, ctx context.Context, ...) NsgRuleSummaryList
- func GetAllNSGRulesContextE(ctx context.Context, resourceGroupName, nsgName, subscriptionID string) (NsgRuleSummaryList, error)
- func GetAllNSGRulesE(resourceGroupName, nsgName, subscriptionID string) (NsgRuleSummaryList, error)deprecated
- type ResourceGroupNameNotFound
- type SubscriptionIDNotFound
- type UnknownEnvironmentError
- type VMImage
- func GetVirtualMachineImage(t testing.TestingT, vmName string, resGroupName string, subscriptionID string) *VMImagedeprecated
- func GetVirtualMachineImageContext(t testing.TestingT, ctx context.Context, vmName string, resGroupName string, ...) *VMImage
- func GetVirtualMachineImageContextE(ctx context.Context, vmName string, resGroupName string, subscriptionID string) (*VMImage, error)
- func GetVirtualMachineImageE(vmName string, resGroupName string, subscriptionID string) (*VMImage, error)deprecated
Constants ¶
const ( // AzureSubscriptionID is an optional env variable supported by the `azurerm` Terraform provider to // designate a target Azure subscription ID AzureSubscriptionID = "ARM_SUBSCRIPTION_ID" // AzureResGroupName is an optional env variable custom to Terratest to designate a target Azure resource group AzureResGroupName = "AZURE_RES_GROUP_NAME" )
const ( // AzureEnvironmentEnvName is the name of the Azure environment to use. Set to one of the following: // // "AzureChinaCloud": ChinaCloud // "AzureGermanCloud": GermanCloud // "AzurePublicCloud": PublicCloud // "AzureUSGovernmentCloud": USGovernmentCloud // "AzureStackCloud": Azure stack AzureEnvironmentEnvName = "AZURE_ENVIRONMENT" )
Variables ¶
This section is empty.
Functions ¶
func AppExists
deprecated
added in
v0.36.8
func AppExistsContext ¶ added in v1.0.0
func AppExistsContext(t testing.TestingT, ctx context.Context, appName string, resourceGroupName string, subscriptionID string) bool
AppExistsContext indicates whether the specified application exists. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func AppExistsContextE ¶ added in v1.0.0
func AppExistsContextE(ctx context.Context, appName string, resourceGroupName string, subscriptionID string) (bool, error)
AppExistsContextE indicates whether the specified application exists. The ctx parameter supports cancellation and timeouts.
func AppExistsE
deprecated
added in
v0.36.8
func AvailabilitySetExists
deprecated
added in
v0.30.3
func AvailabilitySetExists(t testing.TestingT, avsName string, resGroupName string, subscriptionID string) bool
AvailabilitySetExists indicates whether the specified Azure Availability Set exists. This function would fail the test if there is an error.
Deprecated: Use AvailabilitySetExistsContext instead.
func AvailabilitySetExistsContext ¶ added in v1.0.0
func AvailabilitySetExistsContext(t testing.TestingT, ctx context.Context, avsName string, resGroupName string, subscriptionID string) bool
AvailabilitySetExistsContext indicates whether the specified Azure Availability Set exists. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func AvailabilitySetExistsContextE ¶ added in v1.0.0
func AvailabilitySetExistsContextE(t testing.TestingT, ctx context.Context, avsName string, resGroupName string, subscriptionID string) (bool, error)
AvailabilitySetExistsContextE indicates whether the specified Azure Availability Set exists. The ctx parameter supports cancellation and timeouts.
func AvailabilitySetExistsE
deprecated
added in
v0.30.3
func BuildNamespaceIdsList ¶ added in v0.37.11
func BuildNamespaceIdsList(sbNamespace []*armservicebus.SBNamespace) []string
BuildNamespaceIdsList is a helper method to build a namespace id list.
func BuildNamespaceNamesList ¶ added in v0.37.11
func BuildNamespaceNamesList(sbNamespace []*armservicebus.SBNamespace) []string
BuildNamespaceNamesList is a helper method to build a namespace name list.
func CheckAvailabilitySetContainsVM
deprecated
added in
v0.30.3
func CheckAvailabilitySetContainsVM(t testing.TestingT, vmName string, avsName string, resGroupName string, subscriptionID string) bool
CheckAvailabilitySetContainsVM checks if the Virtual Machine is contained in the Availability Set VMs. This function would fail the test if there is an error.
Deprecated: Use CheckAvailabilitySetContainsVMContext instead.
func CheckAvailabilitySetContainsVMContext ¶ added in v1.0.0
func CheckAvailabilitySetContainsVMContext(t testing.TestingT, ctx context.Context, vmName string, avsName string, resGroupName string, subscriptionID string) bool
CheckAvailabilitySetContainsVMContext checks if the Virtual Machine is contained in the Availability Set VMs. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func CheckAvailabilitySetContainsVMContextE ¶ added in v1.0.0
func CheckAvailabilitySetContainsVMContextE(t testing.TestingT, ctx context.Context, vmName string, avsName string, resGroupName string, subscriptionID string) (bool, error)
CheckAvailabilitySetContainsVMContextE checks if the Virtual Machine is contained in the Availability Set VMs. The ctx parameter supports cancellation and timeouts.
func CheckAvailabilitySetContainsVME
deprecated
added in
v0.30.3
func CheckAvailabilitySetContainsVME(t testing.TestingT, vmName string, avsName string, resGroupName string, subscriptionID string) (bool, error)
CheckAvailabilitySetContainsVME checks if the Virtual Machine is contained in the Availability Set VMs.
Deprecated: Use CheckAvailabilitySetContainsVMContextE instead.
func CheckAvailabilitySetContainsVMWithClient ¶ added in v1.0.0
func CheckAvailabilitySetContainsVMWithClient(ctx context.Context, client *armcompute.AvailabilitySetsClient, resGroupName string, avsName string, vmName string) (bool, error)
CheckAvailabilitySetContainsVMWithClient checks if the Virtual Machine is contained in the Availability Set VMs using the provided AvailabilitySetsClient.
func CheckPublicDNSNameAvailability
deprecated
added in
v0.30.6
func CheckPublicDNSNameAvailability(t testing.TestingT, location string, domainNameLabel string, subscriptionID string) bool
CheckPublicDNSNameAvailability checks whether a domain name in the cloudapp.azure.com zone is available for use. This function would fail the test if there is an error.
Deprecated: Use CheckPublicDNSNameAvailabilityContext instead.
func CheckPublicDNSNameAvailabilityContext ¶ added in v1.0.0
func CheckPublicDNSNameAvailabilityContext(t testing.TestingT, ctx context.Context, location string, domainNameLabel string, subscriptionID string) bool
CheckPublicDNSNameAvailabilityContext checks whether a domain name in the cloudapp.azure.com zone is available for use. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func CheckPublicDNSNameAvailabilityContextE ¶ added in v1.0.0
func CheckPublicDNSNameAvailabilityContextE(ctx context.Context, location string, domainNameLabel string, subscriptionID string) (bool, error)
CheckPublicDNSNameAvailabilityContextE checks whether a domain name in the cloudapp.azure.com zone is available for use. The ctx parameter supports cancellation and timeouts.
func CheckPublicDNSNameAvailabilityE
deprecated
added in
v0.30.6
func CheckSubnetContainsIP
deprecated
added in
v0.30.6
func CheckSubnetContainsIP(t testing.TestingT, ipAddress string, subnetName string, vnetName string, resGroupName string, subscriptionID string) bool
CheckSubnetContainsIP checks if the Private IP is contained in the Subnet Address Range. This function would fail the test if there is an error.
Deprecated: Use CheckSubnetContainsIPContext instead.
func CheckSubnetContainsIPContext ¶ added in v1.0.0
func CheckSubnetContainsIPContext(t testing.TestingT, ctx context.Context, ipAddress string, subnetName string, vnetName string, resGroupName string, subscriptionID string) bool
CheckSubnetContainsIPContext checks if the Private IP is contained in the Subnet Address Range. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func CheckSubnetContainsIPContextE ¶ added in v1.0.0
func CheckSubnetContainsIPContextE(ctx context.Context, ipAddress string, subnetName string, vnetName string, resGroupName string, subscriptionID string) (bool, error)
CheckSubnetContainsIPContextE checks if the Private IP is contained in the Subnet Address Range. The ctx parameter supports cancellation and timeouts.
func CheckSubnetContainsIPE
deprecated
added in
v0.30.6
func CheckSubnetContainsIPWithClient ¶ added in v1.0.0
func CheckSubnetContainsIPWithClient(ctx context.Context, client *armnetwork.SubnetsClient, ipAddress string, subnetName string, vnetName string, resGroupName string) (bool, error)
CheckSubnetContainsIPWithClient checks if the Private IP is contained in the Subnet Address Range using a pre-built SubnetsClient.
func ContainerAppExists
deprecated
added in
v0.48.2
func ContainerAppExists(t testing.TestingT, containerAppName string, resourceGroupName string, subscriptionID string) bool
ContainerAppExists indicates whether the Container App exists for the subscription. This function would fail the test if there is an error.
Deprecated: Use ContainerAppExistsContext instead.
func ContainerAppExistsContext ¶ added in v1.0.0
func ContainerAppExistsContext(t testing.TestingT, ctx context.Context, containerAppName string, resourceGroupName string, subscriptionID string) bool
ContainerAppExistsContext indicates whether the Container App exists for the subscription. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ContainerAppExistsContextE ¶ added in v1.0.0
func ContainerAppExistsContextE(ctx context.Context, containerAppName string, resourceGroupName string, subscriptionID string) (bool, error)
ContainerAppExistsContextE indicates whether the Container App exists for the subscription. The ctx parameter supports cancellation and timeouts.
func ContainerAppExistsE
deprecated
added in
v0.48.2
func ContainerAppJobExists
deprecated
added in
v0.48.2
func ContainerAppJobExists(t testing.TestingT, containerAppName string, resourceGroupName string, subscriptionID string) bool
ContainerAppJobExists indicates whether the Container App Job exists for the subscription. This function would fail the test if there is an error.
Deprecated: Use ContainerAppJobExistsContext instead.
func ContainerAppJobExistsContext ¶ added in v1.0.0
func ContainerAppJobExistsContext(t testing.TestingT, ctx context.Context, containerAppName string, resourceGroupName string, subscriptionID string) bool
ContainerAppJobExistsContext indicates whether the Container App Job exists for the subscription. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ContainerAppJobExistsContextE ¶ added in v1.0.0
func ContainerAppJobExistsContextE(ctx context.Context, containerAppName string, resourceGroupName string, subscriptionID string) (bool, error)
ContainerAppJobExistsContextE indicates whether the Container App Job exists for the subscription. The ctx parameter supports cancellation and timeouts.
func ContainerAppJobExistsE
deprecated
added in
v0.48.2
func ContainerInstanceExists
deprecated
added in
v0.37.5
func ContainerInstanceExists(t testing.TestingT, instanceName string, resourceGroupName string, subscriptionID string) bool
ContainerInstanceExists indicates whether the specified container instance exists. This function would fail the test if there is an error.
Deprecated: Use ContainerInstanceExistsContext instead.
func ContainerInstanceExistsContext ¶ added in v1.0.0
func ContainerInstanceExistsContext(t testing.TestingT, ctx context.Context, instanceName string, resourceGroupName string, subscriptionID string) bool
ContainerInstanceExistsContext indicates whether the specified container instance exists. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ContainerInstanceExistsContextE ¶ added in v1.0.0
func ContainerInstanceExistsContextE(ctx context.Context, instanceName string, resourceGroupName string, subscriptionID string) (bool, error)
ContainerInstanceExistsContextE indicates whether the specified container instance exists. The ctx parameter supports cancellation and timeouts.
func ContainerInstanceExistsE
deprecated
added in
v0.37.5
func ContainerRegistryExists
deprecated
added in
v0.37.5
func ContainerRegistryExists(t testing.TestingT, registryName string, resourceGroupName string, subscriptionID string) bool
ContainerRegistryExists indicates whether the specified container registry exists. This function would fail the test if there is an error.
Deprecated: Use ContainerRegistryExistsContext instead.
func ContainerRegistryExistsContext ¶ added in v1.0.0
func ContainerRegistryExistsContext(t testing.TestingT, ctx context.Context, registryName string, resourceGroupName string, subscriptionID string) bool
ContainerRegistryExistsContext indicates whether the specified container registry exists. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ContainerRegistryExistsContextE ¶ added in v1.0.0
func ContainerRegistryExistsContextE(ctx context.Context, registryName string, resourceGroupName string, subscriptionID string) (bool, error)
ContainerRegistryExistsContextE indicates whether the specified container registry exists. The ctx parameter supports cancellation and timeouts.
func ContainerRegistryExistsE
deprecated
added in
v0.37.5
func CreateActionGroupClient
deprecated
added in
v0.34.4
func CreateActionGroupClient(subscriptionID string) (*armmonitor.ActionGroupsClient, error)
CreateActionGroupClient creates an Action Groups client for Azure Monitor.
Deprecated: Use CreateActionGroupClientContext instead.
func CreateActionGroupClientContext ¶ added in v1.0.0
func CreateActionGroupClientContext(_ context.Context, subscriptionID string) (*armmonitor.ActionGroupsClient, error)
CreateActionGroupClientContext creates an Action Groups client for Azure Monitor. The ctx parameter supports cancellation and timeouts.
func CreateActivityLogAlertsClientContextE ¶ added in v1.0.0
func CreateActivityLogAlertsClientContextE(_ context.Context, subscriptionID string) (*armmonitor.ActivityLogAlertsClient, error)
CreateActivityLogAlertsClientContextE gets an Activity Log Alerts client in the specified Azure Subscription. The ctx parameter supports cancellation and timeouts.
func CreateActivityLogAlertsClientE
deprecated
added in
v0.34.2
func CreateActivityLogAlertsClientE(subscriptionID string) (*armmonitor.ActivityLogAlertsClient, error)
CreateActivityLogAlertsClientE gets an Activity Log Alerts client in the specified Azure Subscription.
Deprecated: Use CreateActivityLogAlertsClientContextE instead.
func CreateAppServiceClientContextE ¶ added in v1.0.0
func CreateAppServiceClientContextE(_ context.Context, subscriptionID string) (*armappservice.WebAppsClient, error)
CreateAppServiceClientContextE returns an App Service client. The ctx parameter supports cancellation and timeouts.
func CreateAppServiceClientE
deprecated
added in
v0.36.8
func CreateAppServiceClientE(subscriptionID string) (*armappservice.WebAppsClient, error)
CreateAppServiceClientE returns an App Service client.
Deprecated: Use CreateAppServiceClientContextE instead.
func CreateAvailabilitySetClientContextE ¶ added in v1.0.0
func CreateAvailabilitySetClientContextE(_ context.Context, subscriptionID string) (*armcompute.AvailabilitySetsClient, error)
CreateAvailabilitySetClientContextE creates a new Availability Set client. The ctx parameter supports cancellation and timeouts.
func CreateAvailabilitySetClientE
deprecated
added in
v0.34.2
func CreateAvailabilitySetClientE(subscriptionID string) (*armcompute.AvailabilitySetsClient, error)
CreateAvailabilitySetClientE creates a new Availability Set client.
Deprecated: Use CreateAvailabilitySetClientContextE instead.
func CreateContainerAppJobsClientContextE ¶ added in v1.0.0
func CreateContainerAppJobsClientContextE(_ context.Context, subscriptionID string) (*armappcontainers.JobsClient, error)
CreateContainerAppJobsClientContextE creates a Container App Jobs client for Azure Container Apps. The ctx parameter supports cancellation and timeouts.
func CreateContainerAppJobsClientE
deprecated
added in
v0.48.2
func CreateContainerAppJobsClientE(subscriptionID string) (*armappcontainers.JobsClient, error)
CreateContainerAppJobsClientE creates a Container App Jobs client for Azure Container Apps.
Deprecated: Use CreateContainerAppJobsClientContextE instead.
func CreateContainerAppsClientContextE ¶ added in v1.0.0
func CreateContainerAppsClientContextE(_ context.Context, subscriptionID string) (*armappcontainers.ContainerAppsClient, error)
CreateContainerAppsClientContextE creates a Container Apps client for Azure Container Apps. The ctx parameter supports cancellation and timeouts.
func CreateContainerAppsClientE
deprecated
added in
v0.48.2
func CreateContainerAppsClientE(subscriptionID string) (*armappcontainers.ContainerAppsClient, error)
CreateContainerAppsClientE creates a Container Apps client for Azure Container Apps.
Deprecated: Use CreateContainerAppsClientContextE instead.
func CreateContainerInstanceClientContextE ¶ added in v1.0.0
func CreateContainerInstanceClientContextE(_ context.Context, subscriptionID string) (*armcontainerinstance.ContainerGroupsClient, error)
CreateContainerInstanceClientContextE returns an ACI container groups client. The ctx parameter supports cancellation and timeouts.
func CreateContainerInstanceClientE
deprecated
added in
v0.37.5
func CreateContainerInstanceClientE(subscriptionID string) (*armcontainerinstance.ContainerGroupsClient, error)
CreateContainerInstanceClientE returns an ACI container groups client.
Deprecated: Use CreateContainerInstanceClientContextE instead.
func CreateContainerRegistryClientContextE ¶ added in v1.0.0
func CreateContainerRegistryClientContextE(_ context.Context, subscriptionID string) (*armcontainerregistry.RegistriesClient, error)
CreateContainerRegistryClientContextE returns an ACR registries client. The ctx parameter supports cancellation and timeouts.
func CreateContainerRegistryClientE
deprecated
added in
v0.37.5
func CreateContainerRegistryClientE(subscriptionID string) (*armcontainerregistry.RegistriesClient, error)
CreateContainerRegistryClientE returns an ACR registries client.
Deprecated: Use CreateContainerRegistryClientContextE instead.
func CreateCosmosDBAccountClientContextE ¶ added in v1.0.0
func CreateCosmosDBAccountClientContextE(_ context.Context, subscriptionID string) (*armcosmos.DatabaseAccountsClient, error)
CreateCosmosDBAccountClientContextE returns a Cosmos DB database accounts client. The ctx parameter supports cancellation and timeouts.
func CreateCosmosDBAccountClientE
deprecated
added in
v0.31.3
func CreateCosmosDBAccountClientE(subscriptionID string) (*armcosmos.DatabaseAccountsClient, error)
CreateCosmosDBAccountClientE returns a Cosmos DB database accounts client.
Deprecated: Use CreateCosmosDBAccountClientContextE instead.
func CreateCosmosDBSQLClientContextE ¶ added in v1.0.0
func CreateCosmosDBSQLClientContextE(_ context.Context, subscriptionID string) (*armcosmos.SQLResourcesClient, error)
CreateCosmosDBSQLClientContextE returns a Cosmos DB SQL resources client. The ctx parameter supports cancellation and timeouts.
func CreateCosmosDBSQLClientE
deprecated
added in
v0.31.3
func CreateCosmosDBSQLClientE(subscriptionID string) (*armcosmos.SQLResourcesClient, error)
CreateCosmosDBSQLClientE returns a Cosmos DB SQL resources client.
Deprecated: Use CreateCosmosDBSQLClientContextE instead.
func CreateDataFactoriesClientContextE ¶ added in v1.0.0
func CreateDataFactoriesClientContextE(_ context.Context, subscriptionID string) (*armdatafactory.FactoriesClient, error)
CreateDataFactoriesClientContextE is a helper function that will setup a data factory client. The ctx parameter supports cancellation and timeouts.
func CreateDataFactoriesClientE
deprecated
added in
v0.43.3
func CreateDataFactoriesClientE(subscriptionID string) (*armdatafactory.FactoriesClient, error)
CreateDataFactoriesClientE is a helper function that will setup a data factory client.
Deprecated: Use CreateDataFactoriesClientContextE instead.
func CreateDatabaseClient
deprecated
added in
v0.34.4
func CreateDatabaseClient(subscriptionID string) (*armsql.DatabasesClient, error)
CreateDatabaseClient is a helper function that will create and setup a SQL DB client.
Deprecated: Use CreateDatabaseClientContext instead.
func CreateDatabaseClientContext ¶ added in v1.0.0
func CreateDatabaseClientContext(_ context.Context, subscriptionID string) (*armsql.DatabasesClient, error)
CreateDatabaseClientContext is a helper function that will create and setup a SQL DB client. The ctx parameter supports cancellation and timeouts.
func CreateDiagnosticsSettingsClientContextE ¶ added in v1.0.0
func CreateDiagnosticsSettingsClientContextE(_ context.Context, subscriptionID string) (*armmonitor.DiagnosticSettingsClient, error)
CreateDiagnosticsSettingsClientContextE returns a diagnostics settings client. The ctx parameter supports cancellation and timeouts.
func CreateDiagnosticsSettingsClientE
deprecated
added in
v0.34.2
func CreateDiagnosticsSettingsClientE(subscriptionID string) (*armmonitor.DiagnosticSettingsClient, error)
CreateDiagnosticsSettingsClientE returns a diagnostics settings client.
Deprecated: Use CreateDiagnosticsSettingsClientContextE instead.
func CreateDisksClientContextE ¶ added in v1.0.0
func CreateDisksClientContextE(_ context.Context, subscriptionID string) (*armcompute.DisksClient, error)
CreateDisksClientContextE returns a disks client. The ctx parameter supports cancellation and timeouts.
func CreateDisksClientE
deprecated
added in
v0.34.4
func CreateDisksClientE(subscriptionID string) (*armcompute.DisksClient, error)
CreateDisksClientE returns a disks client.
Deprecated: Use CreateDisksClientContextE instead.
func CreateFrontDoorClientContextE ¶ added in v1.0.0
func CreateFrontDoorClientContextE(_ context.Context, subscriptionID string) (*armfrontdoor.FrontDoorsClient, error)
CreateFrontDoorClientContextE returns a Front Door client. The ctx parameter supports cancellation and timeouts.
func CreateFrontDoorClientE
deprecated
added in
v0.38.5
func CreateFrontDoorClientE(subscriptionID string) (*armfrontdoor.FrontDoorsClient, error)
CreateFrontDoorClientE returns a Front Door client.
Deprecated: Use CreateFrontDoorClientContextE instead.
func CreateFrontDoorFrontendEndpointClientContextE ¶ added in v1.0.0
func CreateFrontDoorFrontendEndpointClientContextE(_ context.Context, subscriptionID string) (*armfrontdoor.FrontendEndpointsClient, error)
CreateFrontDoorFrontendEndpointClientContextE returns a Front Door Frontend Endpoints client. The ctx parameter supports cancellation and timeouts.
func CreateFrontDoorFrontendEndpointClientE
deprecated
added in
v0.38.5
func CreateFrontDoorFrontendEndpointClientE(subscriptionID string) (*armfrontdoor.FrontendEndpointsClient, error)
CreateFrontDoorFrontendEndpointClientE returns a Front Door Frontend Endpoints client.
Deprecated: Use CreateFrontDoorFrontendEndpointClientContextE instead.
func CreateLoadBalancerClientContextE ¶ added in v1.0.0
func CreateLoadBalancerClientContextE(_ context.Context, subscriptionID string) (*armnetwork.LoadBalancersClient, error)
CreateLoadBalancerClientContextE returns a load balancer client. The ctx parameter supports cancellation and timeouts.
func CreateLoadBalancerClientE
deprecated
added in
v0.34.6
func CreateLoadBalancerClientE(subscriptionID string) (*armnetwork.LoadBalancersClient, error)
CreateLoadBalancerClientE returns a load balancer client.
Deprecated: Use CreateLoadBalancerClientContextE instead.
func CreateLoadBalancerFrontendIPConfigClientContextE ¶ added in v1.0.0
func CreateLoadBalancerFrontendIPConfigClientContextE(_ context.Context, subscriptionID string) (*armnetwork.LoadBalancerFrontendIPConfigurationsClient, error)
CreateLoadBalancerFrontendIPConfigClientContextE returns a load balancer frontend IP configuration client. The ctx parameter supports cancellation and timeouts.
func CreateLoadBalancerFrontendIPConfigClientE
deprecated
added in
v1.0.0
func CreateLoadBalancerFrontendIPConfigClientE(subscriptionID string) (*armnetwork.LoadBalancerFrontendIPConfigurationsClient, error)
CreateLoadBalancerFrontendIPConfigClientE returns a load balancer frontend IP configuration client.
Deprecated: Use CreateLoadBalancerFrontendIPConfigClientContextE instead.
func CreateLogAnalyticsWorkspacesClientContextE ¶ added in v1.0.0
func CreateLogAnalyticsWorkspacesClientContextE(_ context.Context, subscriptionID string) (*armoperationalinsights.WorkspacesClient, error)
CreateLogAnalyticsWorkspacesClientContextE returns a workspaces client. The ctx parameter supports cancellation and timeouts.
func CreateManagedClustersClientContextE ¶ added in v1.0.0
func CreateManagedClustersClientContextE(_ context.Context, subscriptionID string) (*armcontainerservice.ManagedClustersClient, error)
CreateManagedClustersClientContextE returns a managed clusters client. The ctx parameter supports cancellation and timeouts.
func CreateManagedClustersClientE
deprecated
added in
v0.31.1
func CreateManagedClustersClientE(subscriptionID string) (*armcontainerservice.ManagedClustersClient, error)
CreateManagedClustersClientE returns a managed clusters client.
Deprecated: Use CreateManagedClustersClientContextE instead.
func CreateManagedEnvironmentsClientContextE ¶ added in v1.0.0
func CreateManagedEnvironmentsClientContextE(_ context.Context, subscriptionID string) (*armappcontainers.ManagedEnvironmentsClient, error)
CreateManagedEnvironmentsClientContextE creates a managed environments client for Azure Container Apps. The ctx parameter supports cancellation and timeouts.
func CreateManagedEnvironmentsClientE
deprecated
added in
v0.48.2
func CreateManagedEnvironmentsClientE(subscriptionID string) (*armappcontainers.ManagedEnvironmentsClient, error)
CreateManagedEnvironmentsClientE creates a managed environments client for Azure Container Apps.
Deprecated: Use CreateManagedEnvironmentsClientContextE instead.
func CreateMySQLServerClientContextE ¶ added in v1.0.0
func CreateMySQLServerClientContextE(_ context.Context, subscriptionID string) (*armmysql.ServersClient, error)
CreateMySQLServerClientContextE is a helper function that will setup a mysql server client. The ctx parameter supports cancellation and timeouts.
func CreateMySQLServerClientE
deprecated
added in
v0.34.4
func CreateMySQLServerClientE(subscriptionID string) (*armmysql.ServersClient, error)
CreateMySQLServerClientE is a helper function that will setup a mysql server client.
Deprecated: Use CreateMySQLServerClientContextE instead.
func CreateNetworkInterfaceIPConfigurationClientContextE ¶ added in v1.0.0
func CreateNetworkInterfaceIPConfigurationClientContextE(_ context.Context, subscriptionID string) (*armnetwork.InterfaceIPConfigurationsClient, error)
CreateNetworkInterfaceIPConfigurationClientContextE returns a NIC IP configuration client. The ctx parameter supports cancellation and timeouts.
func CreateNetworkInterfaceIPConfigurationClientE
deprecated
added in
v1.0.0
func CreateNetworkInterfaceIPConfigurationClientE(subscriptionID string) (*armnetwork.InterfaceIPConfigurationsClient, error)
CreateNetworkInterfaceIPConfigurationClientE returns a NIC IP configuration client.
Deprecated: Use CreateNetworkInterfaceIPConfigurationClientContextE instead.
func CreateNetworkInterfacesClientContextE ¶ added in v1.0.0
func CreateNetworkInterfacesClientContextE(_ context.Context, subscriptionID string) (*armnetwork.InterfacesClient, error)
CreateNetworkInterfacesClientContextE returns a network interfaces client. The ctx parameter supports cancellation and timeouts.
func CreateNetworkInterfacesClientE
deprecated
added in
v1.0.0
func CreateNetworkInterfacesClientE(subscriptionID string) (*armnetwork.InterfacesClient, error)
CreateNetworkInterfacesClientE returns a network interfaces client.
Deprecated: Use CreateNetworkInterfacesClientContextE instead.
func CreateNetworkManagementClientContextE ¶ added in v1.0.0
func CreateNetworkManagementClientContextE(_ context.Context, subscriptionID string) (*armnetwork.ManagementClient, error)
CreateNetworkManagementClientContextE returns a network management client. The ctx parameter supports cancellation and timeouts.
func CreateNetworkManagementClientE
deprecated
added in
v1.0.0
func CreateNetworkManagementClientE(subscriptionID string) (*armnetwork.ManagementClient, error)
CreateNetworkManagementClientE returns a network management client.
Deprecated: Use CreateNetworkManagementClientContextE instead.
func CreateNewNetworkInterfaceIPConfigurationClientContextE
deprecated
added in
v1.0.0
func CreateNewNetworkInterfaceIPConfigurationClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.InterfaceIPConfigurationsClient, error)
CreateNewNetworkInterfaceIPConfigurationClientContextE is an alias for backward compatibility.
Deprecated: Use CreateNetworkInterfaceIPConfigurationClientContextE instead.
func CreateNewNetworkInterfaceIPConfigurationClientE
deprecated
added in
v0.34.6
func CreateNewNetworkInterfaceIPConfigurationClientE(subscriptionID string) (*armnetwork.InterfaceIPConfigurationsClient, error)
CreateNewNetworkInterfaceIPConfigurationClientE is an alias for backward compatibility.
Deprecated: Use CreateNetworkInterfaceIPConfigurationClientContextE instead.
func CreateNewNetworkInterfacesClientContextE
deprecated
added in
v1.0.0
func CreateNewNetworkInterfacesClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.InterfacesClient, error)
CreateNewNetworkInterfacesClientContextE is an alias for backward compatibility.
Deprecated: Use CreateNetworkInterfacesClientContextE instead.
func CreateNewNetworkInterfacesClientE
deprecated
added in
v0.34.6
func CreateNewNetworkInterfacesClientE(subscriptionID string) (*armnetwork.InterfacesClient, error)
CreateNewNetworkInterfacesClientE is an alias for backward compatibility.
Deprecated: Use CreateNetworkInterfacesClientContextE instead.
func CreateNewSubnetClientContextE
deprecated
added in
v1.0.0
func CreateNewSubnetClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.SubnetsClient, error)
CreateNewSubnetClientContextE is an alias for backward compatibility.
Deprecated: Use CreateSubnetClientContextE instead.
func CreateNewSubnetClientE
deprecated
added in
v0.34.6
func CreateNewSubnetClientE(subscriptionID string) (*armnetwork.SubnetsClient, error)
CreateNewSubnetClientE is an alias for backward compatibility.
Deprecated: Use CreateSubnetClientContextE instead.
func CreateNewVirtualNetworkClientContextE
deprecated
added in
v1.0.0
func CreateNewVirtualNetworkClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.VirtualNetworksClient, error)
CreateNewVirtualNetworkClientContextE is an alias for backward compatibility.
Deprecated: Use CreateVirtualNetworkClientContextE instead.
func CreateNewVirtualNetworkClientE
deprecated
added in
v0.34.6
func CreateNewVirtualNetworkClientE(subscriptionID string) (*armnetwork.VirtualNetworksClient, error)
CreateNewVirtualNetworkClientE is an alias for backward compatibility.
Deprecated: Use CreateVirtualNetworkClientContextE instead.
func CreateNsgCustomRulesClientContextE ¶ added in v1.0.0
func CreateNsgCustomRulesClientContextE(_ context.Context, subscriptionID string) (*armnetwork.SecurityRulesClient, error)
CreateNsgCustomRulesClientContextE returns an NSG custom (user) rules client. The ctx parameter supports cancellation and timeouts.
func CreateNsgCustomRulesClientE
deprecated
added in
v0.34.6
func CreateNsgCustomRulesClientE(subscriptionID string) (*armnetwork.SecurityRulesClient, error)
CreateNsgCustomRulesClientE returns an NSG custom (user) rules client.
Deprecated: Use CreateNsgCustomRulesClientContextE instead.
func CreateNsgDefaultRulesClientContextE ¶ added in v1.0.0
func CreateNsgDefaultRulesClientContextE(_ context.Context, subscriptionID string) (*armnetwork.DefaultSecurityRulesClient, error)
CreateNsgDefaultRulesClientContextE returns an NSG default (platform) rules client. The ctx parameter supports cancellation and timeouts.
func CreateNsgDefaultRulesClientE
deprecated
added in
v0.34.6
func CreateNsgDefaultRulesClientE(subscriptionID string) (*armnetwork.DefaultSecurityRulesClient, error)
CreateNsgDefaultRulesClientE returns an NSG default (platform) rules client.
Deprecated: Use CreateNsgDefaultRulesClientContextE instead.
func CreatePublicIPAddressesClientContextE ¶ added in v1.0.0
func CreatePublicIPAddressesClientContextE(_ context.Context, subscriptionID string) (*armnetwork.PublicIPAddressesClient, error)
CreatePublicIPAddressesClientContextE returns a public IP addresses client. The ctx parameter supports cancellation and timeouts.
func CreatePublicIPAddressesClientE
deprecated
added in
v0.34.6
func CreatePublicIPAddressesClientE(subscriptionID string) (*armnetwork.PublicIPAddressesClient, error)
CreatePublicIPAddressesClientE returns a public IP addresses client.
Deprecated: Use CreatePublicIPAddressesClientContextE instead.
func CreateResourceGroupClientContextE ¶ added in v1.0.0
func CreateResourceGroupClientContextE(_ context.Context, subscriptionID string) (*armresources.ResourceGroupsClient, error)
CreateResourceGroupClientContextE gets a resource group client in a subscription. The ctx parameter supports cancellation and timeouts.
func CreateResourceGroupClientE
deprecated
added in
v0.34.4
func CreateResourceGroupClientE(subscriptionID string) (*armresources.ResourceGroupsClient, error)
CreateResourceGroupClientE gets a resource group client in a subscription.
Deprecated: Use CreateResourceGroupClientContextE instead.
func CreateSQLManagedDatabasesClient
deprecated
added in
v1.0.0
func CreateSQLManagedDatabasesClient(subscriptionID string) (*armsql.ManagedDatabasesClient, error)
CreateSQLManagedDatabasesClient is a helper function that will create and setup a sql managed databases client.
Deprecated: Use CreateSQLManagedDatabasesClientContext instead.
func CreateSQLManagedDatabasesClientContext ¶ added in v1.0.0
func CreateSQLManagedDatabasesClientContext(_ context.Context, subscriptionID string) (*armsql.ManagedDatabasesClient, error)
CreateSQLManagedDatabasesClientContext is a helper function that will create and setup a sql managed databases client. The ctx parameter supports cancellation and timeouts.
func CreateSQLManagedInstanceClient
deprecated
added in
v1.0.0
func CreateSQLManagedInstanceClient(subscriptionID string) (*armsql.ManagedInstancesClient, error)
CreateSQLManagedInstanceClient is a helper function that will create and setup a sql managed instance client.
Deprecated: Use CreateSQLManagedInstanceClientContext instead.
func CreateSQLManagedInstanceClientContext ¶ added in v1.0.0
func CreateSQLManagedInstanceClientContext(_ context.Context, subscriptionID string) (*armsql.ManagedInstancesClient, error)
CreateSQLManagedInstanceClientContext is a helper function that will create and setup a sql managed instance client. The ctx parameter supports cancellation and timeouts.
func CreateSQLMangedDatabasesClient
deprecated
added in
v0.43.7
func CreateSQLMangedDatabasesClient(subscriptionID string) (*armsql.ManagedDatabasesClient, error)
Deprecated: Use CreateSQLManagedDatabasesClient instead.
func CreateSQLMangedDatabasesClientContext
deprecated
added in
v1.0.0
func CreateSQLMangedDatabasesClientContext(ctx context.Context, subscriptionID string) (*armsql.ManagedDatabasesClient, error)
Deprecated: Use CreateSQLManagedDatabasesClientContext instead.
func CreateSQLMangedInstanceClient
deprecated
added in
v0.43.7
func CreateSQLMangedInstanceClient(subscriptionID string) (*armsql.ManagedInstancesClient, error)
Deprecated: Use CreateSQLManagedInstanceClient instead.
func CreateSQLMangedInstanceClientContext
deprecated
added in
v1.0.0
func CreateSQLMangedInstanceClientContext(ctx context.Context, subscriptionID string) (*armsql.ManagedInstancesClient, error)
Deprecated: Use CreateSQLManagedInstanceClientContext instead.
func CreateSQLServerClient
deprecated
added in
v0.34.4
func CreateSQLServerClient(subscriptionID string) (*armsql.ServersClient, error)
CreateSQLServerClient is a helper function that will create and setup a sql server client.
Deprecated: Use CreateSQLServerClientContext instead.
func CreateSQLServerClientContext ¶ added in v1.0.0
func CreateSQLServerClientContext(_ context.Context, subscriptionID string) (*armsql.ServersClient, error)
CreateSQLServerClientContext is a helper function that will create and setup a sql server client. The ctx parameter supports cancellation and timeouts.
func CreateServiceBusNamespacesClientContextE ¶ added in v1.0.0
func CreateServiceBusNamespacesClientContextE(_ context.Context, subscriptionID string) (*armservicebus.NamespacesClient, error)
CreateServiceBusNamespacesClientContextE returns a service bus namespaces client. The ctx parameter supports cancellation and timeouts.
func CreateServiceBusNamespacesClientE
deprecated
added in
v1.0.0
func CreateServiceBusNamespacesClientE(subscriptionID string) (*armservicebus.NamespacesClient, error)
CreateServiceBusNamespacesClientE returns a service bus namespaces client.
Deprecated: Use CreateServiceBusNamespacesClientContextE instead.
func CreateServiceBusSubscriptionsClientContextE ¶ added in v1.0.0
func CreateServiceBusSubscriptionsClientContextE(_ context.Context, subscriptionID string) (*armservicebus.SubscriptionsClient, error)
CreateServiceBusSubscriptionsClientContextE returns a service bus subscriptions client. The ctx parameter supports cancellation and timeouts.
func CreateServiceBusSubscriptionsClientE
deprecated
added in
v1.0.0
func CreateServiceBusSubscriptionsClientE(subscriptionID string) (*armservicebus.SubscriptionsClient, error)
CreateServiceBusSubscriptionsClientE returns a service bus subscriptions client.
Deprecated: Use CreateServiceBusSubscriptionsClientContextE instead.
func CreateServiceBusTopicsClientContextE ¶ added in v1.0.0
func CreateServiceBusTopicsClientContextE(_ context.Context, subscriptionID string) (*armservicebus.TopicsClient, error)
CreateServiceBusTopicsClientContextE returns a service bus topics client. The ctx parameter supports cancellation and timeouts.
func CreateServiceBusTopicsClientE
deprecated
added in
v1.0.0
func CreateServiceBusTopicsClientE(subscriptionID string) (*armservicebus.TopicsClient, error)
CreateServiceBusTopicsClientE returns a service bus topics client.
Deprecated: Use CreateServiceBusTopicsClientContextE instead.
func CreateStorageAccountClientContextE ¶ added in v1.0.0
func CreateStorageAccountClientContextE(_ context.Context, subscriptionID string) (*armstorage.AccountsClient, error)
CreateStorageAccountClientContextE creates a storage account client. The ctx parameter supports cancellation and timeouts.
func CreateStorageAccountClientE
deprecated
added in
v0.32.24
func CreateStorageAccountClientE(subscriptionID string) (*armstorage.AccountsClient, error)
CreateStorageAccountClientE creates a storage account client.
Deprecated: Use CreateStorageAccountClientContextE instead.
func CreateStorageBlobContainerClientContextE ¶ added in v1.0.0
func CreateStorageBlobContainerClientContextE(_ context.Context, subscriptionID string) (*armstorage.BlobContainersClient, error)
CreateStorageBlobContainerClientContextE creates a storage blob container client. The ctx parameter supports cancellation and timeouts.
func CreateStorageBlobContainerClientE
deprecated
added in
v0.32.24
func CreateStorageBlobContainerClientE(subscriptionID string) (*armstorage.BlobContainersClient, error)
CreateStorageBlobContainerClientE creates a storage blob container client.
Deprecated: Use CreateStorageBlobContainerClientContextE instead.
func CreateStorageFileSharesClientContextE ¶ added in v1.0.0
func CreateStorageFileSharesClientContextE(_ context.Context, subscriptionID string) (*armstorage.FileSharesClient, error)
CreateStorageFileSharesClientContextE creates a storage file shares client. The ctx parameter supports cancellation and timeouts.
func CreateStorageFileSharesClientE
deprecated
added in
v0.38.5
func CreateStorageFileSharesClientE(subscriptionID string) (*armstorage.FileSharesClient, error)
CreateStorageFileSharesClientE creates a storage file shares client.
Deprecated: Use CreateStorageFileSharesClientContextE instead.
func CreateSubnetClientContextE ¶ added in v1.0.0
func CreateSubnetClientContextE(_ context.Context, subscriptionID string) (*armnetwork.SubnetsClient, error)
CreateSubnetClientContextE returns a subnet client. The ctx parameter supports cancellation and timeouts.
func CreateSubnetClientE
deprecated
added in
v1.0.0
func CreateSubnetClientE(subscriptionID string) (*armnetwork.SubnetsClient, error)
CreateSubnetClientE returns a subnet client.
Deprecated: Use CreateSubnetClientContextE instead.
func CreateSubscriptionsClientContextE ¶ added in v1.0.0
func CreateSubscriptionsClientContextE(_ context.Context) (*armsubscriptions.Client, error)
CreateSubscriptionsClientContextE returns a subscriptions client. The ctx parameter supports cancellation and timeouts.
func CreateSynapseSQLPoolClientContextE ¶ added in v1.0.0
func CreateSynapseSQLPoolClientContextE(_ context.Context, subscriptionID string) (*armsynapse.SQLPoolsClient, error)
CreateSynapseSQLPoolClientContextE is a helper function that will setup a Synapse SQL pool client. The ctx parameter supports cancellation and timeouts.
func CreateSynapseSQLPoolClientE
deprecated
added in
v1.0.0
func CreateSynapseSQLPoolClientE(subscriptionID string) (*armsynapse.SQLPoolsClient, error)
CreateSynapseSQLPoolClientE is a helper function that will setup a Synapse SQL pool client.
Deprecated: Use CreateSynapseSQLPoolClientContextE instead.
func CreateSynapseSqlPoolClientContextE
deprecated
added in
v1.0.0
func CreateSynapseSqlPoolClientContextE(ctx context.Context, subscriptionID string) (*armsynapse.SQLPoolsClient, error)
CreateSynapseSqlPoolClientContextE is a helper function that will setup a Synapse SQL pool client. The ctx parameter supports cancellation and timeouts.
Deprecated: Use CreateSynapseSQLPoolClientContextE instead.
func CreateSynapseSqlPoolClientE
deprecated
added in
v0.43.2
func CreateSynapseSqlPoolClientE(subscriptionID string) (*armsynapse.SQLPoolsClient, error)
CreateSynapseSqlPoolClientE is a helper function that will setup a Synapse SQL pool client.
Deprecated: Use CreateSynapseSQLPoolClientContextE instead.
func CreateSynapseWorkspaceClientContextE ¶ added in v1.0.0
func CreateSynapseWorkspaceClientContextE(_ context.Context, subscriptionID string) (*armsynapse.WorkspacesClient, error)
CreateSynapseWorkspaceClientContextE is a helper function that will setup a synapse workspace client. The ctx parameter supports cancellation and timeouts.
func CreateSynapseWorkspaceClientE
deprecated
added in
v0.43.2
func CreateSynapseWorkspaceClientE(subscriptionID string) (*armsynapse.WorkspacesClient, error)
CreateSynapseWorkspaceClientE is a helper function that will setup a synapse workspace client.
Deprecated: Use CreateSynapseWorkspaceClientContextE instead.
func CreateVMInsightsClientContextE ¶ added in v1.0.0
func CreateVMInsightsClientContextE(_ context.Context, subscriptionID string) (*armmonitor.VMInsightsClient, error)
CreateVMInsightsClientContextE gets a VM Insights client. The ctx parameter supports cancellation and timeouts.
func CreateVMInsightsClientE
deprecated
added in
v0.34.2
func CreateVMInsightsClientE(subscriptionID string) (*armmonitor.VMInsightsClient, error)
CreateVMInsightsClientE gets a VM Insights client.
Deprecated: Use CreateVMInsightsClientContextE instead.
func CreateVirtualMachinesClientContextE ¶ added in v1.0.0
func CreateVirtualMachinesClientContextE(_ context.Context, subscriptionID string) (*armcompute.VirtualMachinesClient, error)
CreateVirtualMachinesClientContextE returns a virtual machines client. The ctx parameter supports cancellation and timeouts.
func CreateVirtualMachinesClientE
deprecated
added in
v0.31.1
func CreateVirtualMachinesClientE(subscriptionID string) (*armcompute.VirtualMachinesClient, error)
CreateVirtualMachinesClientE returns a virtual machines client.
Deprecated: Use CreateVirtualMachinesClientContextE instead.
func CreateVirtualNetworkClientContextE ¶ added in v1.0.0
func CreateVirtualNetworkClientContextE(_ context.Context, subscriptionID string) (*armnetwork.VirtualNetworksClient, error)
CreateVirtualNetworkClientContextE returns a virtual network client. The ctx parameter supports cancellation and timeouts.
func CreateVirtualNetworkClientE
deprecated
added in
v1.0.0
func CreateVirtualNetworkClientE(subscriptionID string) (*armnetwork.VirtualNetworksClient, error)
CreateVirtualNetworkClientE returns a virtual network client.
Deprecated: Use CreateVirtualNetworkClientContextE instead.
func DataFactoryExists
deprecated
added in
v0.43.3
func DataFactoryExists(t testing.TestingT, dataFactoryName string, resourceGroupName string, subscriptionID string) bool
DataFactoryExists indicates whether the Data Factory exists for the subscription. This function would fail the test if there is an error.
Deprecated: Use DataFactoryExistsContext instead.
func DataFactoryExistsContext ¶ added in v1.0.0
func DataFactoryExistsContext(t testing.TestingT, ctx context.Context, dataFactoryName string, resourceGroupName string, subscriptionID string) bool
DataFactoryExistsContext indicates whether the Data Factory exists for the subscription. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func DataFactoryExistsContextE ¶ added in v1.0.0
func DataFactoryExistsContextE(ctx context.Context, dataFactoryName string, resourceGroupName string, subscriptionID string) (bool, error)
DataFactoryExistsContextE indicates whether the specified Data Factory exists and may return an error. The ctx parameter supports cancellation and timeouts.
func DataFactoryExistsE
deprecated
added in
v0.43.3
func DiagnosticSettingsResourceExists
deprecated
added in
v0.30.26
func DiagnosticSettingsResourceExists(t testing.TestingT, diagnosticSettingsResourceName string, resourceURI string, subscriptionID string) bool
DiagnosticSettingsResourceExists indicates whether the diagnostic settings resource exists. This function would fail the test if there is an error.
Deprecated: Use DiagnosticSettingsResourceExistsContext instead.
func DiagnosticSettingsResourceExistsContext ¶ added in v1.0.0
func DiagnosticSettingsResourceExistsContext(t testing.TestingT, ctx context.Context, diagnosticSettingsResourceName string, resourceURI string, subscriptionID string) bool
DiagnosticSettingsResourceExistsContext indicates whether the diagnostic settings resource exists. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func DiagnosticSettingsResourceExistsContextE ¶ added in v1.0.0
func DiagnosticSettingsResourceExistsContextE(ctx context.Context, diagnosticSettingsResourceName string, resourceURI string, subscriptionID string) (bool, error)
DiagnosticSettingsResourceExistsContextE indicates whether the diagnostic settings resource exists. The ctx parameter supports cancellation and timeouts.
func DiagnosticSettingsResourceExistsE
deprecated
added in
v0.30.26
func DiagnosticSettingsResourceExistsWithClient ¶ added in v1.0.0
func DiagnosticSettingsResourceExistsWithClient(ctx context.Context, client *armmonitor.DiagnosticSettingsClient, resourceURI string, name string) (bool, error)
DiagnosticSettingsResourceExistsWithClient checks if a diagnostic settings resource exists using the provided client.
func DiskExists
deprecated
added in
v0.30.12
func DiskExistsContext ¶ added in v1.0.0
func DiskExistsContext(t testing.TestingT, ctx context.Context, diskName string, resGroupName string, subscriptionID string) bool
DiskExistsContext indicates whether the specified Azure Managed Disk exists. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func DiskExistsContextE ¶ added in v1.0.0
func DiskExistsContextE(ctx context.Context, diskName string, resGroupName string, subscriptionID string) (bool, error)
DiskExistsContextE indicates whether the specified Azure Managed Disk exists in the specified Azure Resource Group. The ctx parameter supports cancellation and timeouts.
func DiskExistsE
deprecated
added in
v0.30.12
func DiskExistsWithClient ¶ added in v1.0.0
func DiskExistsWithClient(ctx context.Context, client *armcompute.DisksClient, resGroupName string, diskName string) (bool, error)
DiskExistsWithClient checks if a Disk exists using the provided DisksClient.
func ExtractAvailabilitySetFaultDomainCount ¶ added in v1.0.0
func ExtractAvailabilitySetFaultDomainCount(avs *armcompute.AvailabilitySet) (int32, error)
ExtractAvailabilitySetFaultDomainCount gets the Fault Domain Count from the provided AvailabilitySet.
func ExtractBlobContainerPublicAccess ¶ added in v1.0.0
func ExtractBlobContainerPublicAccess(container *armstorage.BlobContainer) bool
ExtractBlobContainerPublicAccess returns true if the container has public access other than "None".
func ExtractIPOfPublicIPAddress ¶ added in v1.0.0
func ExtractIPOfPublicIPAddress(pip *armnetwork.PublicIPAddress) (string, error)
ExtractIPOfPublicIPAddress gets the IP string from a PublicIPAddress.
func ExtractLoadBalancerFrontendIPConfigNames ¶ added in v1.0.0
func ExtractLoadBalancerFrontendIPConfigNames(lb *armnetwork.LoadBalancer) []string
ExtractLoadBalancerFrontendIPConfigNames gets a list of the Frontend IP Configuration Names from a Load Balancer.
func ExtractNetworkInterfacePrivateIPs ¶ added in v1.0.0
func ExtractNetworkInterfacePrivateIPs(nic *armnetwork.Interface) []string
ExtractNetworkInterfacePrivateIPs gets a list of the Private IPs from a Network Interface.
func ExtractStorageAccountKind ¶ added in v1.0.0
func ExtractStorageAccountKind(account *armstorage.Account) string
ExtractStorageAccountKind returns the storage account kind as a string.
func ExtractStorageAccountSkuTier ¶ added in v1.0.0
func ExtractStorageAccountSkuTier(account *armstorage.Account) string
ExtractStorageAccountSkuTier returns the storage account SKU tier as a string.
func ExtractVirtualNetworkDNSServerIPs ¶ added in v1.0.0
func ExtractVirtualNetworkDNSServerIPs(vnet *armnetwork.VirtualNetwork) []string
ExtractVirtualNetworkDNSServerIPs gets a list of all DNS server IPs from a VirtualNetwork.
func FetchBlobContainer ¶ added in v1.0.0
func FetchBlobContainer(ctx context.Context, client *armstorage.BlobContainersClient, resourceGroupName, storageAccountName, containerName string) (*armstorage.BlobContainer, error)
FetchBlobContainer retrieves a blob container using the provided client.
func FetchFileShare ¶ added in v1.0.0
func FetchFileShare(ctx context.Context, client *armstorage.FileSharesClient, resourceGroupName, storageAccountName, fileShareName string) (*armstorage.FileShare, error)
FetchFileShare retrieves a file share using the provided client with stats expansion.
func FetchStorageAccountProperties ¶ added in v1.0.0
func FetchStorageAccountProperties(ctx context.Context, client *armstorage.AccountsClient, resourceGroupName, storageAccountName string) (*armstorage.Account, error)
FetchStorageAccountProperties retrieves the storage account properties using the provided client.
func FrontDoorExists
deprecated
added in
v0.38.5
func FrontDoorExistsContext ¶ added in v1.0.0
func FrontDoorExistsContext(t testing.TestingT, ctx context.Context, frontDoorName string, resourceGroupName string, subscriptionID string) bool
FrontDoorExistsContext indicates whether the Front Door exists for the subscription. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func FrontDoorExistsContextE ¶ added in v1.0.0
func FrontDoorExistsContextE(ctx context.Context, frontDoorName string, resourceGroupName string, subscriptionID string) (bool, error)
FrontDoorExistsContextE indicates whether the specified Front Door exists. The ctx parameter supports cancellation and timeouts.
func FrontDoorExistsE
deprecated
added in
v0.38.5
func FrontDoorFrontendEndpointExists
deprecated
added in
v0.38.5
func FrontDoorFrontendEndpointExists(t testing.TestingT, endpointName string, frontDoorName string, resourceGroupName string, subscriptionID string) bool
FrontDoorFrontendEndpointExists indicates whether the frontend endpoint exists for the provided Front Door. This function would fail the test if there is an error.
Deprecated: Use FrontDoorFrontendEndpointExistsContext instead.
func FrontDoorFrontendEndpointExistsContext ¶ added in v1.0.0
func FrontDoorFrontendEndpointExistsContext(t testing.TestingT, ctx context.Context, endpointName string, frontDoorName string, resourceGroupName string, subscriptionID string) bool
FrontDoorFrontendEndpointExistsContext indicates whether the frontend endpoint exists for the provided Front Door. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func FrontDoorFrontendEndpointExistsContextE ¶ added in v1.0.0
func FrontDoorFrontendEndpointExistsContextE(ctx context.Context, endpointName string, frontDoorName string, resourceGroupName string, subscriptionID string) (bool, error)
FrontDoorFrontendEndpointExistsContextE indicates whether the specified endpoint exists for the provided Front Door. The ctx parameter supports cancellation and timeouts.
func FrontDoorFrontendEndpointExistsE
deprecated
added in
v0.38.5
func FrontDoorFrontendEndpointExistsE(endpointName string, frontDoorName string, resourceGroupName string, subscriptionID string) (bool, error)
FrontDoorFrontendEndpointExistsE indicates whether the specified endpoint exists for the provided Front Door.
Deprecated: Use FrontDoorFrontendEndpointExistsContextE instead.
func GetAResourceGroup
deprecated
added in
v0.35.4
func GetAResourceGroup(t testing.TestingT, resourceGroupName string, subscriptionID string) *armresources.ResourceGroup
GetAResourceGroup returns a resource group within a subscription. This function would fail the test if there is an error.
Deprecated: Use GetAResourceGroupContext instead.
func GetAResourceGroupContext ¶ added in v1.0.0
func GetAResourceGroupContext(t testing.TestingT, ctx context.Context, resourceGroupName string, subscriptionID string) *armresources.ResourceGroup
GetAResourceGroupContext returns a resource group within a subscription. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetAResourceGroupContextE ¶ added in v1.0.0
func GetAResourceGroupContextE(ctx context.Context, resourceGroupName, subscriptionID string) (*armresources.ResourceGroup, error)
GetAResourceGroupContextE gets a resource group within a subscription. The ctx parameter supports cancellation and timeouts.
func GetAResourceGroupE
deprecated
added in
v0.35.4
func GetAResourceGroupE(resourceGroupName, subscriptionID string) (*armresources.ResourceGroup, error)
GetAResourceGroupE gets a resource group within a subscription.
Deprecated: Use GetAResourceGroupContextE instead.
func GetAResourceGroupWithClient ¶ added in v1.0.0
func GetAResourceGroupWithClient(ctx context.Context, client *armresources.ResourceGroupsClient, resourceGroupName string) (*armresources.ResourceGroup, error)
GetAResourceGroupWithClient gets a resource group using the provided ResourceGroupsClient.
func GetActionGroupResource
deprecated
added in
v0.30.2
func GetActionGroupResource(t testing.TestingT, ruleName string, resGroupName string, subscriptionID string) *armmonitor.ActionGroupResource
GetActionGroupResource gets the ActionGroupResource. This function would fail the test if there is an error. ruleName - required to find the ActionGroupResource. resGroupName - use an empty string if you have the AZURE_RES_GROUP_NAME environment variable set subscriptionId - use an empty string if you have the ARM_SUBSCRIPTION_ID environment variable set
Deprecated: Use GetActionGroupResourceContext instead.
func GetActionGroupResourceContext ¶ added in v1.0.0
func GetActionGroupResourceContext(t testing.TestingT, ctx context.Context, ruleName string, resGroupName string, subscriptionID string) *armmonitor.ActionGroupResource
GetActionGroupResourceContext gets the ActionGroupResource. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts. ruleName - required to find the ActionGroupResource. resGroupName - use an empty string if you have the AZURE_RES_GROUP_NAME environment variable set subscriptionId - use an empty string if you have the ARM_SUBSCRIPTION_ID environment variable set
func GetActionGroupResourceContextE ¶ added in v1.0.0
func GetActionGroupResourceContextE(ctx context.Context, ruleName string, resGroupName string, subscriptionID string) (*armmonitor.ActionGroupResource, error)
GetActionGroupResourceContextE gets the ActionGroupResource. The ctx parameter supports cancellation and timeouts. ruleName - required to find the ActionGroupResource. resGroupName - use an empty string if you have the AZURE_RES_GROUP_NAME environment variable set subscriptionId - use an empty string if you have the ARM_SUBSCRIPTION_ID environment variable set
func GetActionGroupResourceE
deprecated
added in
v0.30.2
func GetActionGroupResourceE(ruleName string, resGroupName string, subscriptionID string) (*armmonitor.ActionGroupResource, error)
GetActionGroupResourceE gets the ActionGroupResource. ruleName - required to find the ActionGroupResource. resGroupName - use an empty string if you have the AZURE_RES_GROUP_NAME environment variable set subscriptionId - use an empty string if you have the ARM_SUBSCRIPTION_ID environment variable set
Deprecated: Use GetActionGroupResourceContextE instead.
func GetActionGroupResourceWithClient ¶ added in v1.0.0
func GetActionGroupResourceWithClient(ctx context.Context, client *armmonitor.ActionGroupsClient, resGroupName string, ruleName string) (*armmonitor.ActionGroupResource, error)
GetActionGroupResourceWithClient gets the ActionGroupResource using the provided client.
func GetActivityLogAlertResource
deprecated
added in
v0.30.26
func GetActivityLogAlertResource(t testing.TestingT, activityLogAlertName string, resGroupName string, subscriptionID string) *armmonitor.ActivityLogAlertResource
GetActivityLogAlertResource gets an Activity Log Alert Resource in the specified Azure Resource Group. This function would fail the test if there is an error.
Deprecated: Use GetActivityLogAlertResourceContext instead.
func GetActivityLogAlertResourceContext ¶ added in v1.0.0
func GetActivityLogAlertResourceContext(t testing.TestingT, ctx context.Context, activityLogAlertName string, resGroupName string, subscriptionID string) *armmonitor.ActivityLogAlertResource
GetActivityLogAlertResourceContext gets an Activity Log Alert Resource in the specified Azure Resource Group. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetActivityLogAlertResourceContextE ¶ added in v1.0.0
func GetActivityLogAlertResourceContextE(ctx context.Context, activityLogAlertName string, resGroupName string, subscriptionID string) (*armmonitor.ActivityLogAlertResource, error)
GetActivityLogAlertResourceContextE gets an Activity Log Alert Resource in the specified Azure Resource Group. The ctx parameter supports cancellation and timeouts.
func GetActivityLogAlertResourceE
deprecated
added in
v0.30.26
func GetActivityLogAlertResourceE(activityLogAlertName string, resGroupName string, subscriptionID string) (*armmonitor.ActivityLogAlertResource, error)
GetActivityLogAlertResourceE gets an Activity Log Alert Resource in the specified Azure Resource Group.
Deprecated: Use GetActivityLogAlertResourceContextE instead.
func GetActivityLogAlertResourceWithClient ¶ added in v1.0.0
func GetActivityLogAlertResourceWithClient(ctx context.Context, client *armmonitor.ActivityLogAlertsClient, resGroupName string, activityLogAlertName string) (*armmonitor.ActivityLogAlertResource, error)
GetActivityLogAlertResourceWithClient gets an Activity Log Alert Resource using the provided client.
func GetAllAzureRegions
deprecated
GetAllAzureRegions gets the list of Azure regions available in this subscription. This function would fail the test if there is an error.
Deprecated: Use GetAllAzureRegionsContext instead.
func GetAllAzureRegionsContext ¶ added in v1.0.0
func GetAllAzureRegionsContext(t testing.TestingT, ctx context.Context, subscriptionID string) []string
GetAllAzureRegionsContext gets the list of Azure regions available in this subscription. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetAllAzureRegionsContextE ¶ added in v1.0.0
func GetAllAzureRegionsContextE(t testing.TestingT, ctx context.Context, subscriptionID string) ([]string, error)
GetAllAzureRegionsContextE gets the list of Azure regions available in this subscription. The ctx parameter supports cancellation and timeouts.
func GetAllAzureRegionsE
deprecated
func GetAppService
deprecated
added in
v0.36.8
func GetAppService(t testing.TestingT, appName string, resGroupName string, subscriptionID string) *armappservice.Site
GetAppService gets the App service object for the specified application. This function would fail the test if there is an error.
Deprecated: Use GetAppServiceContext instead.
func GetAppServiceClientContextE ¶ added in v1.0.0
func GetAppServiceClientContextE(_ context.Context, subscriptionID string) (*armappservice.WebAppsClient, error)
GetAppServiceClientContextE creates and returns an App Service web apps client. The ctx parameter supports cancellation and timeouts.
func GetAppServiceClientE
deprecated
added in
v0.36.8
func GetAppServiceClientE(subscriptionID string) (*armappservice.WebAppsClient, error)
GetAppServiceClientE creates and returns an App Service web apps client.
Deprecated: Use GetAppServiceClientContextE instead.
func GetAppServiceContext ¶ added in v1.0.0
func GetAppServiceContext(t testing.TestingT, ctx context.Context, appName string, resGroupName string, subscriptionID string) *armappservice.Site
GetAppServiceContext gets the App service object for the specified application. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetAppServiceContextE ¶ added in v1.0.0
func GetAppServiceContextE(ctx context.Context, appName string, resGroupName string, subscriptionID string) (*armappservice.Site, error)
GetAppServiceContextE gets the App service object for the specified application. The ctx parameter supports cancellation and timeouts.
func GetAppServiceE
deprecated
added in
v0.36.8
func GetAppServiceE(appName string, resGroupName string, subscriptionID string) (*armappservice.Site, error)
GetAppServiceE gets the App service object for the specified application.
Deprecated: Use GetAppServiceContextE instead.
func GetAppServiceWithClient ¶ added in v1.0.0
func GetAppServiceWithClient(ctx context.Context, client *armappservice.WebAppsClient, resourceGroupName string, appName string) (*armappservice.Site, error)
GetAppServiceWithClient gets the App service object using the provided client. This variant is useful for testing with fake clients.
func GetAvailabilitySetContextE ¶ added in v1.0.0
func GetAvailabilitySetContextE(t testing.TestingT, ctx context.Context, avsName string, resGroupName string, subscriptionID string) (*armcompute.AvailabilitySet, error)
GetAvailabilitySetContextE gets an Availability Set in the specified Azure Resource Group. The ctx parameter supports cancellation and timeouts.
func GetAvailabilitySetE
deprecated
added in
v0.30.3
func GetAvailabilitySetE(t testing.TestingT, avsName string, resGroupName string, subscriptionID string) (*armcompute.AvailabilitySet, error)
GetAvailabilitySetE gets an Availability Set in the specified Azure Resource Group.
Deprecated: Use GetAvailabilitySetContextE instead.
func GetAvailabilitySetFaultDomainCount
deprecated
added in
v0.30.3
func GetAvailabilitySetFaultDomainCount(t testing.TestingT, avsName string, resGroupName string, subscriptionID string) int32
GetAvailabilitySetFaultDomainCount gets the Fault Domain Count for the specified Azure Availability Set. This function would fail the test if there is an error.
Deprecated: Use GetAvailabilitySetFaultDomainCountContext instead.
func GetAvailabilitySetFaultDomainCountContext ¶ added in v1.0.0
func GetAvailabilitySetFaultDomainCountContext(t testing.TestingT, ctx context.Context, avsName string, resGroupName string, subscriptionID string) int32
GetAvailabilitySetFaultDomainCountContext gets the Fault Domain Count for the specified Azure Availability Set. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetAvailabilitySetFaultDomainCountContextE ¶ added in v1.0.0
func GetAvailabilitySetFaultDomainCountContextE(t testing.TestingT, ctx context.Context, avsName string, resGroupName string, subscriptionID string) (int32, error)
GetAvailabilitySetFaultDomainCountContextE gets the Fault Domain Count for the specified Azure Availability Set. The ctx parameter supports cancellation and timeouts.
func GetAvailabilitySetFaultDomainCountE
deprecated
added in
v0.30.3
func GetAvailabilitySetFaultDomainCountE(t testing.TestingT, avsName string, resGroupName string, subscriptionID string) (int32, error)
GetAvailabilitySetFaultDomainCountE gets the Fault Domain Count for the specified Azure Availability Set.
Deprecated: Use GetAvailabilitySetFaultDomainCountContextE instead.
func GetAvailabilitySetVMNamesInCaps
deprecated
added in
v0.30.3
func GetAvailabilitySetVMNamesInCaps(t testing.TestingT, avsName string, resGroupName string, subscriptionID string) []string
GetAvailabilitySetVMNamesInCaps gets a list of VM names in the specified Azure Availability Set. This function would fail the test if there is an error.
Deprecated: Use GetAvailabilitySetVMNamesInCapsContext instead.
func GetAvailabilitySetVMNamesInCapsContext ¶ added in v1.0.0
func GetAvailabilitySetVMNamesInCapsContext(t testing.TestingT, ctx context.Context, avsName string, resGroupName string, subscriptionID string) []string
GetAvailabilitySetVMNamesInCapsContext gets a list of VM names in the specified Azure Availability Set. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetAvailabilitySetVMNamesInCapsContextE ¶ added in v1.0.0
func GetAvailabilitySetVMNamesInCapsContextE(t testing.TestingT, ctx context.Context, avsName string, resGroupName string, subscriptionID string) ([]string, error)
GetAvailabilitySetVMNamesInCapsContextE gets a list of VM names in the specified Azure Availability Set. The ctx parameter supports cancellation and timeouts.
func GetAvailabilitySetVMNamesInCapsE
deprecated
added in
v0.30.3
func GetAvailabilitySetVMNamesInCapsWithClient ¶ added in v1.0.0
func GetAvailabilitySetVMNamesInCapsWithClient(ctx context.Context, client *armcompute.AvailabilitySetsClient, resGroupName string, avsName string) ([]string, error)
GetAvailabilitySetVMNamesInCapsWithClient gets a list of VM names in the specified Azure Availability Set using the provided AvailabilitySetsClient.
func GetAvailabilitySetWithClient ¶ added in v1.0.0
func GetAvailabilitySetWithClient(ctx context.Context, client *armcompute.AvailabilitySetsClient, resGroupName string, avsName string) (*armcompute.AvailabilitySet, error)
GetAvailabilitySetWithClient gets an Availability Set using the provided AvailabilitySetsClient.
func GetBackupPolicyListWithClient ¶ added in v1.0.0
func GetBackupPolicyListWithClient(ctx context.Context, client *armrecoveryservicesbackup.BackupPoliciesClient, vaultName, resourceGroupName string) (map[string]armrecoveryservicesbackup.ProtectionPolicyResource, error)
GetBackupPolicyListWithClient retrieves all backup policies for a vault using the provided client.
func GetBackupProtectedVMListWithClient ¶ added in v1.0.0
func GetBackupProtectedVMListWithClient(ctx context.Context, client *armrecoveryservicesbackup.BackupProtectedItemsClient, vaultName, resourceGroupName, policyName string) (map[string]armrecoveryservicesbackup.AzureIaaSComputeVMProtectedItem, error)
GetBackupProtectedVMListWithClient retrieves all protected VMs matching the given policy using the provided client.
func GetContainerApp
deprecated
added in
v0.48.2
func GetContainerApp(t testing.TestingT, containerAppName string, resourceGroupName string, subscriptionID string) *armappcontainers.ContainerApp
GetContainerApp gets the Container App object. This function would fail the test if there is an error.
Deprecated: Use GetContainerAppContext instead.
func GetContainerAppContext ¶ added in v1.0.0
func GetContainerAppContext(t testing.TestingT, ctx context.Context, containerAppName string, resourceGroupName string, subscriptionID string) *armappcontainers.ContainerApp
GetContainerAppContext returns the Container App object. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetContainerAppContextE ¶ added in v1.0.0
func GetContainerAppContextE(ctx context.Context, containerAppName string, resourceGroupName string, subscriptionID string) (*armappcontainers.ContainerApp, error)
GetContainerAppContextE returns the Container App object. The ctx parameter supports cancellation and timeouts.
func GetContainerAppE
deprecated
added in
v0.48.2
func GetContainerAppE(containerAppName string, resourceGroupName string, subscriptionID string) (*armappcontainers.ContainerApp, error)
GetContainerAppE gets the Container App object.
Deprecated: Use GetContainerAppContextE instead.
func GetContainerAppJob
deprecated
added in
v0.48.2
func GetContainerAppJob(t testing.TestingT, containerAppName string, resourceGroupName string, subscriptionID string) *armappcontainers.Job
GetContainerAppJob gets the Container App Job object. This function would fail the test if there is an error.
Deprecated: Use GetContainerAppJobContext instead.
func GetContainerAppJobContext ¶ added in v1.0.0
func GetContainerAppJobContext(t testing.TestingT, ctx context.Context, containerAppName string, resourceGroupName string, subscriptionID string) *armappcontainers.Job
GetContainerAppJobContext returns the Container App Job object. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetContainerAppJobContextE ¶ added in v1.0.0
func GetContainerAppJobContextE(ctx context.Context, containerAppName string, resourceGroupName string, subscriptionID string) (*armappcontainers.Job, error)
GetContainerAppJobContextE returns the Container App Job object. The ctx parameter supports cancellation and timeouts.
func GetContainerAppJobE
deprecated
added in
v0.48.2
func GetContainerAppJobE(containerAppName string, resourceGroupName string, subscriptionID string) (*armappcontainers.Job, error)
GetContainerAppJobE gets the Container App Job object.
Deprecated: Use GetContainerAppJobContextE instead.
func GetContainerAppJobWithClient ¶ added in v1.0.0
func GetContainerAppJobWithClient(ctx context.Context, client *armappcontainers.JobsClient, resourceGroupName string, containerAppName string) (*armappcontainers.Job, error)
GetContainerAppJobWithClient returns a Container App Job using the provided JobsClient. This variant is useful for testing with fake clients.
func GetContainerAppWithClient ¶ added in v1.0.0
func GetContainerAppWithClient(ctx context.Context, client *armappcontainers.ContainerAppsClient, resourceGroupName string, containerAppName string) (*armappcontainers.ContainerApp, error)
GetContainerAppWithClient returns a Container App using the provided ContainerAppsClient. This variant is useful for testing with fake clients.
func GetContainerInstance
deprecated
added in
v0.37.5
func GetContainerInstance(t testing.TestingT, instanceName string, resGroupName string, subscriptionID string) *armcontainerinstance.ContainerGroup
GetContainerInstance gets the container instance object. This function would fail the test if there is an error.
Deprecated: Use GetContainerInstanceContext instead.
func GetContainerInstanceContext ¶ added in v1.0.0
func GetContainerInstanceContext(t testing.TestingT, ctx context.Context, instanceName string, resGroupName string, subscriptionID string) *armcontainerinstance.ContainerGroup
GetContainerInstanceContext gets the container instance object. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetContainerInstanceContextE ¶ added in v1.0.0
func GetContainerInstanceContextE(ctx context.Context, instanceName string, resGroupName string, subscriptionID string) (*armcontainerinstance.ContainerGroup, error)
GetContainerInstanceContextE gets the container instance object. The ctx parameter supports cancellation and timeouts.
func GetContainerInstanceE
deprecated
added in
v0.37.5
func GetContainerInstanceE(instanceName string, resGroupName string, subscriptionID string) (*armcontainerinstance.ContainerGroup, error)
GetContainerInstanceE gets the container instance object.
Deprecated: Use GetContainerInstanceContextE instead.
func GetContainerInstanceWithClient ¶ added in v1.0.0
func GetContainerInstanceWithClient(ctx context.Context, client *armcontainerinstance.ContainerGroupsClient, resGroupName string, instanceName string) (*armcontainerinstance.ContainerGroup, error)
GetContainerInstanceWithClient gets a container instance using the provided ContainerGroupsClient.
func GetContainerRegistry
deprecated
added in
v0.37.5
func GetContainerRegistry(t testing.TestingT, registryName string, resGroupName string, subscriptionID string) *armcontainerregistry.Registry
GetContainerRegistry gets the container registry object. This function would fail the test if there is an error.
Deprecated: Use GetContainerRegistryContext instead.
func GetContainerRegistryContext ¶ added in v1.0.0
func GetContainerRegistryContext(t testing.TestingT, ctx context.Context, registryName string, resGroupName string, subscriptionID string) *armcontainerregistry.Registry
GetContainerRegistryContext gets the container registry object. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetContainerRegistryContextE ¶ added in v1.0.0
func GetContainerRegistryContextE(ctx context.Context, registryName string, resGroupName string, subscriptionID string) (*armcontainerregistry.Registry, error)
GetContainerRegistryContextE gets the container registry object. The ctx parameter supports cancellation and timeouts.
func GetContainerRegistryE
deprecated
added in
v0.37.5
func GetContainerRegistryE(registryName string, resGroupName string, subscriptionID string) (*armcontainerregistry.Registry, error)
GetContainerRegistryE gets the container registry object.
Deprecated: Use GetContainerRegistryContextE instead.
func GetContainerRegistryWithClient ¶ added in v1.0.0
func GetContainerRegistryWithClient(ctx context.Context, client *armcontainerregistry.RegistriesClient, resGroupName string, registryName string) (*armcontainerregistry.Registry, error)
GetContainerRegistryWithClient gets a container registry using the provided RegistriesClient.
func GetCosmosDBAccount
deprecated
added in
v0.31.3
func GetCosmosDBAccount(t testing.TestingT, subscriptionID string, resourceGroupName string, accountName string) *armcosmos.DatabaseAccountGetResults
GetCosmosDBAccount is a helper function that gets the database account. This function would fail the test if there is an error.
Deprecated: Use GetCosmosDBAccountContext instead.
func GetCosmosDBAccountClient
deprecated
added in
v0.31.3
func GetCosmosDBAccountClient(t testing.TestingT, subscriptionID string) *armcosmos.DatabaseAccountsClient
GetCosmosDBAccountClient is a helper function that will setup a CosmosDB account client. This function would fail the test if there is an error.
Deprecated: Use GetCosmosDBAccountClientContext instead.
func GetCosmosDBAccountClientContext ¶ added in v1.0.0
func GetCosmosDBAccountClientContext(t testing.TestingT, ctx context.Context, subscriptionID string) *armcosmos.DatabaseAccountsClient
GetCosmosDBAccountClientContext is a helper function that will setup a CosmosDB account client. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetCosmosDBAccountClientContextE ¶ added in v1.0.0
func GetCosmosDBAccountClientContextE(ctx context.Context, subscriptionID string) (*armcosmos.DatabaseAccountsClient, error)
GetCosmosDBAccountClientContextE is a helper function that will setup a CosmosDB account client. The ctx parameter supports cancellation and timeouts.
func GetCosmosDBAccountClientE
deprecated
added in
v0.31.3
func GetCosmosDBAccountClientE(subscriptionID string) (*armcosmos.DatabaseAccountsClient, error)
GetCosmosDBAccountClientE is a helper function that will setup a CosmosDB account client.
Deprecated: Use GetCosmosDBAccountClientContextE instead.
func GetCosmosDBAccountContext ¶ added in v1.0.0
func GetCosmosDBAccountContext(t testing.TestingT, ctx context.Context, subscriptionID string, resourceGroupName string, accountName string) *armcosmos.DatabaseAccountGetResults
GetCosmosDBAccountContext is a helper function that gets the database account. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetCosmosDBAccountContextE ¶ added in v1.0.0
func GetCosmosDBAccountContextE(ctx context.Context, subscriptionID string, resourceGroupName string, accountName string) (*armcosmos.DatabaseAccountGetResults, error)
GetCosmosDBAccountContextE is a helper function that gets the database account. The ctx parameter supports cancellation and timeouts.
func GetCosmosDBAccountE
deprecated
added in
v0.31.3
func GetCosmosDBAccountE(subscriptionID string, resourceGroupName string, accountName string) (*armcosmos.DatabaseAccountGetResults, error)
GetCosmosDBAccountE is a helper function that gets the database account.
Deprecated: Use GetCosmosDBAccountContextE instead.
func GetCosmosDBAccountWithClient ¶ added in v1.0.0
func GetCosmosDBAccountWithClient(ctx context.Context, client *armcosmos.DatabaseAccountsClient, resourceGroupName string, accountName string) (*armcosmos.DatabaseAccountGetResults, error)
GetCosmosDBAccountWithClient gets a database account using the provided DatabaseAccountsClient.
func GetCosmosDBSQLClient
deprecated
added in
v0.31.3
func GetCosmosDBSQLClient(t testing.TestingT, subscriptionID string) *armcosmos.SQLResourcesClient
GetCosmosDBSQLClient is a helper function that will setup a CosmosDB SQL client. This function would fail the test if there is an error.
Deprecated: Use GetCosmosDBSQLClientContext instead.
func GetCosmosDBSQLClientContext ¶ added in v1.0.0
func GetCosmosDBSQLClientContext(t testing.TestingT, ctx context.Context, subscriptionID string) *armcosmos.SQLResourcesClient
GetCosmosDBSQLClientContext is a helper function that will setup a CosmosDB SQL client. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetCosmosDBSQLClientContextE ¶ added in v1.0.0
func GetCosmosDBSQLClientContextE(ctx context.Context, subscriptionID string) (*armcosmos.SQLResourcesClient, error)
GetCosmosDBSQLClientContextE is a helper function that will setup a CosmosDB SQL client. The ctx parameter supports cancellation and timeouts.
func GetCosmosDBSQLClientE
deprecated
added in
v0.31.3
func GetCosmosDBSQLClientE(subscriptionID string) (*armcosmos.SQLResourcesClient, error)
GetCosmosDBSQLClientE is a helper function that will setup a CosmosDB SQL client.
Deprecated: Use GetCosmosDBSQLClientContextE instead.
func GetCosmosDBSQLContainer
deprecated
added in
v0.31.3
func GetCosmosDBSQLContainer(t testing.TestingT, subscriptionID string, resourceGroupName string, accountName string, databaseName string, containerName string) *armcosmos.SQLContainerGetResults
GetCosmosDBSQLContainer is a helper function that gets a SQL container. This function would fail the test if there is an error.
Deprecated: Use GetCosmosDBSQLContainerContext instead.
func GetCosmosDBSQLContainerContext ¶ added in v1.0.0
func GetCosmosDBSQLContainerContext(t testing.TestingT, ctx context.Context, subscriptionID string, resourceGroupName string, accountName string, databaseName string, containerName string) *armcosmos.SQLContainerGetResults
GetCosmosDBSQLContainerContext is a helper function that gets a SQL container. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetCosmosDBSQLContainerContextE ¶ added in v1.0.0
func GetCosmosDBSQLContainerContextE(ctx context.Context, subscriptionID string, resourceGroupName string, accountName string, databaseName string, containerName string) (*armcosmos.SQLContainerGetResults, error)
GetCosmosDBSQLContainerContextE is a helper function that gets a SQL container. The ctx parameter supports cancellation and timeouts.
func GetCosmosDBSQLContainerE
deprecated
added in
v0.31.3
func GetCosmosDBSQLContainerE(subscriptionID string, resourceGroupName string, accountName string, databaseName string, containerName string) (*armcosmos.SQLContainerGetResults, error)
GetCosmosDBSQLContainerE is a helper function that gets a SQL container.
Deprecated: Use GetCosmosDBSQLContainerContextE instead.
func GetCosmosDBSQLContainerThroughput
deprecated
added in
v0.31.3
func GetCosmosDBSQLContainerThroughput(t testing.TestingT, subscriptionID string, resourceGroupName string, accountName string, databaseName string, containerName string) *armcosmos.ThroughputSettingsGetResults
GetCosmosDBSQLContainerThroughput is a helper function that gets a SQL container throughput configuration. This function would fail the test if there is an error.
Deprecated: Use GetCosmosDBSQLContainerThroughputContext instead.
func GetCosmosDBSQLContainerThroughputContext ¶ added in v1.0.0
func GetCosmosDBSQLContainerThroughputContext(t testing.TestingT, ctx context.Context, subscriptionID string, resourceGroupName string, accountName string, databaseName string, containerName string) *armcosmos.ThroughputSettingsGetResults
GetCosmosDBSQLContainerThroughputContext is a helper function that gets a SQL container throughput configuration. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetCosmosDBSQLContainerThroughputContextE ¶ added in v1.0.0
func GetCosmosDBSQLContainerThroughputContextE(ctx context.Context, subscriptionID string, resourceGroupName string, accountName string, databaseName string, containerName string) (*armcosmos.ThroughputSettingsGetResults, error)
GetCosmosDBSQLContainerThroughputContextE is a helper function that gets a SQL container throughput configuration. The ctx parameter supports cancellation and timeouts.
func GetCosmosDBSQLContainerThroughputE
deprecated
added in
v0.31.3
func GetCosmosDBSQLContainerThroughputE(subscriptionID string, resourceGroupName string, accountName string, databaseName string, containerName string) (*armcosmos.ThroughputSettingsGetResults, error)
GetCosmosDBSQLContainerThroughputE is a helper function that gets a SQL container throughput configuration.
Deprecated: Use GetCosmosDBSQLContainerThroughputContextE instead.
func GetCosmosDBSQLContainerThroughputWithClient ¶ added in v1.0.0
func GetCosmosDBSQLContainerThroughputWithClient(ctx context.Context, client *armcosmos.SQLResourcesClient, resourceGroupName string, accountName string, databaseName string, containerName string) (*armcosmos.ThroughputSettingsGetResults, error)
GetCosmosDBSQLContainerThroughputWithClient gets a SQL container throughput configuration using the provided SQLResourcesClient.
func GetCosmosDBSQLContainerWithClient ¶ added in v1.0.0
func GetCosmosDBSQLContainerWithClient(ctx context.Context, client *armcosmos.SQLResourcesClient, resourceGroupName string, accountName string, databaseName string, containerName string) (*armcosmos.SQLContainerGetResults, error)
GetCosmosDBSQLContainerWithClient gets a SQL container using the provided SQLResourcesClient.
func GetCosmosDBSQLDatabase
deprecated
added in
v0.31.3
func GetCosmosDBSQLDatabase(t testing.TestingT, subscriptionID string, resourceGroupName string, accountName string, databaseName string) *armcosmos.SQLDatabaseGetResults
GetCosmosDBSQLDatabase is a helper function that gets a SQL database. This function would fail the test if there is an error.
Deprecated: Use GetCosmosDBSQLDatabaseContext instead.
func GetCosmosDBSQLDatabaseContext ¶ added in v1.0.0
func GetCosmosDBSQLDatabaseContext(t testing.TestingT, ctx context.Context, subscriptionID string, resourceGroupName string, accountName string, databaseName string) *armcosmos.SQLDatabaseGetResults
GetCosmosDBSQLDatabaseContext is a helper function that gets a SQL database. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetCosmosDBSQLDatabaseContextE ¶ added in v1.0.0
func GetCosmosDBSQLDatabaseContextE(ctx context.Context, subscriptionID string, resourceGroupName string, accountName string, databaseName string) (*armcosmos.SQLDatabaseGetResults, error)
GetCosmosDBSQLDatabaseContextE is a helper function that gets a SQL database. The ctx parameter supports cancellation and timeouts.
func GetCosmosDBSQLDatabaseE
deprecated
added in
v0.31.3
func GetCosmosDBSQLDatabaseE(subscriptionID string, resourceGroupName string, accountName string, databaseName string) (*armcosmos.SQLDatabaseGetResults, error)
GetCosmosDBSQLDatabaseE is a helper function that gets a SQL database.
Deprecated: Use GetCosmosDBSQLDatabaseContextE instead.
func GetCosmosDBSQLDatabaseThroughput
deprecated
added in
v0.31.3
func GetCosmosDBSQLDatabaseThroughput(t testing.TestingT, subscriptionID string, resourceGroupName string, accountName string, databaseName string) *armcosmos.ThroughputSettingsGetResults
GetCosmosDBSQLDatabaseThroughput is a helper function that gets a SQL database throughput configuration. This function would fail the test if there is an error.
Deprecated: Use GetCosmosDBSQLDatabaseThroughputContext instead.
func GetCosmosDBSQLDatabaseThroughputContext ¶ added in v1.0.0
func GetCosmosDBSQLDatabaseThroughputContext(t testing.TestingT, ctx context.Context, subscriptionID string, resourceGroupName string, accountName string, databaseName string) *armcosmos.ThroughputSettingsGetResults
GetCosmosDBSQLDatabaseThroughputContext is a helper function that gets a SQL database throughput configuration. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetCosmosDBSQLDatabaseThroughputContextE ¶ added in v1.0.0
func GetCosmosDBSQLDatabaseThroughputContextE(ctx context.Context, subscriptionID string, resourceGroupName string, accountName string, databaseName string) (*armcosmos.ThroughputSettingsGetResults, error)
GetCosmosDBSQLDatabaseThroughputContextE is a helper function that gets a SQL database throughput configuration. The ctx parameter supports cancellation and timeouts.
func GetCosmosDBSQLDatabaseThroughputE
deprecated
added in
v0.31.3
func GetCosmosDBSQLDatabaseThroughputE(subscriptionID string, resourceGroupName string, accountName string, databaseName string) (*armcosmos.ThroughputSettingsGetResults, error)
GetCosmosDBSQLDatabaseThroughputE is a helper function that gets a SQL database throughput configuration.
Deprecated: Use GetCosmosDBSQLDatabaseThroughputContextE instead.
func GetCosmosDBSQLDatabaseThroughputWithClient ¶ added in v1.0.0
func GetCosmosDBSQLDatabaseThroughputWithClient(ctx context.Context, client *armcosmos.SQLResourcesClient, resourceGroupName string, accountName string, databaseName string) (*armcosmos.ThroughputSettingsGetResults, error)
GetCosmosDBSQLDatabaseThroughputWithClient gets a SQL database throughput configuration using the provided SQLResourcesClient.
func GetCosmosDBSQLDatabaseWithClient ¶ added in v1.0.0
func GetCosmosDBSQLDatabaseWithClient(ctx context.Context, client *armcosmos.SQLResourcesClient, resourceGroupName string, accountName string, databaseName string) (*armcosmos.SQLDatabaseGetResults, error)
GetCosmosDBSQLDatabaseWithClient gets a SQL database using the provided SQLResourcesClient.
func GetCustomNsgRulesClient
deprecated
added in
v0.30.4
func GetCustomNsgRulesClient(t testing.TestingT, subscriptionID string) *armnetwork.SecurityRulesClient
GetCustomNsgRulesClient returns a rules client which can be used to read the list of *custom* security rules defined on a network security group. Note that the "custom" rules are those defined by end users. This function would fail the test if there is an error.
Deprecated: Use GetCustomNsgRulesClientContext instead.
func GetCustomNsgRulesClientContext ¶ added in v1.0.0
func GetCustomNsgRulesClientContext(t testing.TestingT, ctx context.Context, subscriptionID string) *armnetwork.SecurityRulesClient
GetCustomNsgRulesClientContext returns a rules client which can be used to read the list of *custom* security rules defined on a network security group. Note that the "custom" rules are those defined by end users. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetCustomNsgRulesClientContextE ¶ added in v1.0.0
func GetCustomNsgRulesClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.SecurityRulesClient, error)
GetCustomNsgRulesClientContextE returns a rules client which can be used to read the list of *custom* security rules defined on a network security group. Note that the "custom" rules are those defined by end users. The ctx parameter supports cancellation and timeouts.
func GetCustomNsgRulesClientE
deprecated
added in
v0.30.4
func GetCustomNsgRulesClientE(subscriptionID string) (*armnetwork.SecurityRulesClient, error)
GetCustomNsgRulesClientE returns a rules client which can be used to read the list of *custom* security rules defined on a network security group. Note that the "custom" rules are those defined by end users.
Deprecated: Use GetCustomNsgRulesClientContextE instead.
func GetDataFactory
deprecated
added in
v0.43.3
func GetDataFactory(t testing.TestingT, resGroupName string, factoryName string, subscriptionID string) *armdatafactory.Factory
GetDataFactory is a helper function that gets the data factory. This function would fail the test if there is an error.
Deprecated: Use GetDataFactoryContext instead.
func GetDataFactoryContext ¶ added in v1.0.0
func GetDataFactoryContext(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, factoryName string) *armdatafactory.Factory
GetDataFactoryContext returns the Data Factory object. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetDataFactoryContextE ¶ added in v1.0.0
func GetDataFactoryContextE(ctx context.Context, subscriptionID string, resGroupName string, factoryName string) (*armdatafactory.Factory, error)
GetDataFactoryContextE returns the Data Factory object. The ctx parameter supports cancellation and timeouts.
func GetDataFactoryE
deprecated
added in
v0.43.3
func GetDataFactoryE(subscriptionID string, resGroupName string, factoryName string) (*armdatafactory.Factory, error)
GetDataFactoryE is a helper function that gets the data factory.
Deprecated: Use GetDataFactoryContextE instead.
func GetDataFactoryWithClient ¶ added in v1.0.0
func GetDataFactoryWithClient(ctx context.Context, client *armdatafactory.FactoriesClient, resGroupName string, factoryName string) (*armdatafactory.Factory, error)
GetDataFactoryWithClient returns a Data Factory using the provided FactoriesClient. This variant is useful for testing with fake clients.
func GetDatabaseClient
deprecated
added in
v0.30.9
func GetDatabaseClient(subscriptionID string) (*armsql.DatabasesClient, error)
GetDatabaseClient is a helper function that will setup a sql DB client.
Deprecated: Use GetDatabaseClientContext instead.
func GetDatabaseClientContext ¶ added in v1.0.0
func GetDatabaseClientContext(ctx context.Context, subscriptionID string) (*armsql.DatabasesClient, error)
GetDatabaseClientContext is a helper function that will setup a sql DB client. The ctx parameter supports cancellation and timeouts.
func GetDefaultNsgRulesClient
deprecated
added in
v0.30.4
func GetDefaultNsgRulesClient(t testing.TestingT, subscriptionID string) *armnetwork.DefaultSecurityRulesClient
GetDefaultNsgRulesClient returns a rules client which can be used to read the list of *default* security rules defined on a network security group. Note that the "default" rules are those provided implicitly by the Azure platform. This function would fail the test if there is an error.
Deprecated: Use GetDefaultNsgRulesClientContext instead.
func GetDefaultNsgRulesClientContext ¶ added in v1.0.0
func GetDefaultNsgRulesClientContext(t testing.TestingT, ctx context.Context, subscriptionID string) *armnetwork.DefaultSecurityRulesClient
GetDefaultNsgRulesClientContext returns a rules client which can be used to read the list of *default* security rules defined on a network security group. Note that the "default" rules are those provided implicitly by the Azure platform. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetDefaultNsgRulesClientContextE ¶ added in v1.0.0
func GetDefaultNsgRulesClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.DefaultSecurityRulesClient, error)
GetDefaultNsgRulesClientContextE returns a rules client which can be used to read the list of *default* security rules defined on a network security group. Note that the "default" rules are those provided implicitly by the Azure platform. The ctx parameter supports cancellation and timeouts.
func GetDefaultNsgRulesClientE
deprecated
added in
v0.30.4
func GetDefaultNsgRulesClientE(subscriptionID string) (*armnetwork.DefaultSecurityRulesClient, error)
GetDefaultNsgRulesClientE returns a rules client which can be used to read the list of *default* security rules defined on a network security group. Note that the "default" rules are those provided implicitly by the Azure platform.
Deprecated: Use GetDefaultNsgRulesClientContextE instead.
func GetDiagnosticsSettingsResource
deprecated
added in
v0.30.26
func GetDiagnosticsSettingsResource(t testing.TestingT, name string, resourceURI string, subscriptionID string) *armmonitor.DiagnosticSettingsResource
GetDiagnosticsSettingsResource gets the diagnostics settings for a specified resource. This function would fail the test if there is an error.
Deprecated: Use GetDiagnosticsSettingsResourceContext instead.
func GetDiagnosticsSettingsResourceContext ¶ added in v1.0.0
func GetDiagnosticsSettingsResourceContext(t testing.TestingT, ctx context.Context, name string, resourceURI string, subscriptionID string) *armmonitor.DiagnosticSettingsResource
GetDiagnosticsSettingsResourceContext gets the diagnostics settings for a specified resource. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetDiagnosticsSettingsResourceContextE ¶ added in v1.0.0
func GetDiagnosticsSettingsResourceContextE(ctx context.Context, name string, resourceURI string, subscriptionID string) (*armmonitor.DiagnosticSettingsResource, error)
GetDiagnosticsSettingsResourceContextE gets the diagnostics settings for a specified resource. The ctx parameter supports cancellation and timeouts.
func GetDiagnosticsSettingsResourceE
deprecated
added in
v0.30.26
func GetDiagnosticsSettingsResourceE(name string, resourceURI string, subscriptionID string) (*armmonitor.DiagnosticSettingsResource, error)
GetDiagnosticsSettingsResourceE gets the diagnostics settings for a specified resource.
Deprecated: Use GetDiagnosticsSettingsResourceContextE instead.
func GetDiagnosticsSettingsResourceWithClient ¶ added in v1.0.0
func GetDiagnosticsSettingsResourceWithClient(ctx context.Context, client *armmonitor.DiagnosticSettingsClient, resourceURI string, name string) (*armmonitor.DiagnosticSettingsResource, error)
GetDiagnosticsSettingsResourceWithClient gets the diagnostics settings for a specified resource using the provided client.
func GetDisk
deprecated
added in
v0.30.12
func GetDisk(t testing.TestingT, diskName string, resGroupName string, subscriptionID string) *armcompute.Disk
GetDisk returns a Disk in the specified Azure Resource Group. This function would fail the test if there is an error.
Deprecated: Use GetDiskContext instead.
func GetDiskContext ¶ added in v1.0.0
func GetDiskContext(t testing.TestingT, ctx context.Context, diskName string, resGroupName string, subscriptionID string) *armcompute.Disk
GetDiskContext returns a Disk in the specified Azure Resource Group. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetDiskContextE ¶ added in v1.0.0
func GetDiskContextE(ctx context.Context, diskName string, resGroupName string, subscriptionID string) (*armcompute.Disk, error)
GetDiskContextE returns a Disk in the specified Azure Resource Group. The ctx parameter supports cancellation and timeouts.
func GetDiskE
deprecated
added in
v0.30.12
func GetDiskE(diskName string, resGroupName string, subscriptionID string) (*armcompute.Disk, error)
GetDiskE returns a Disk in the specified Azure Resource Group.
Deprecated: Use GetDiskContextE instead.
func GetDiskWithClient ¶ added in v1.0.0
func GetDiskWithClient(ctx context.Context, client *armcompute.DisksClient, resGroupName string, diskName string) (*armcompute.Disk, error)
GetDiskWithClient returns a Disk using the provided DisksClient.
func GetFrontDoor
deprecated
added in
v0.38.5
func GetFrontDoor(t testing.TestingT, frontDoorName string, resourceGroupName string, subscriptionID string) *armfrontdoor.FrontDoor
GetFrontDoor gets a Front Door by name if it exists for the subscription. This function would fail the test if there is an error.
Deprecated: Use GetFrontDoorContext instead.
func GetFrontDoorClientE
deprecated
added in
v0.38.5
func GetFrontDoorClientE(subscriptionID string) (*armfrontdoor.FrontDoorsClient, error)
GetFrontDoorClientE returns a Front Door client; otherwise error.
Deprecated: Use CreateFrontDoorClientContextE instead.
func GetFrontDoorContext ¶ added in v1.0.0
func GetFrontDoorContext(t testing.TestingT, ctx context.Context, frontDoorName string, resourceGroupName string, subscriptionID string) *armfrontdoor.FrontDoor
GetFrontDoorContext gets a Front Door by name if it exists for the subscription. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetFrontDoorContextE ¶ added in v1.0.0
func GetFrontDoorContextE(ctx context.Context, frontDoorName, resourceGroupName, subscriptionID string) (*armfrontdoor.FrontDoor, error)
GetFrontDoorContextE gets the specified Front Door if it exists. The ctx parameter supports cancellation and timeouts.
func GetFrontDoorE
deprecated
added in
v0.38.5
func GetFrontDoorE(frontDoorName, resourceGroupName, subscriptionID string) (*armfrontdoor.FrontDoor, error)
GetFrontDoorE gets the specified Front Door if it exists.
Deprecated: Use GetFrontDoorContextE instead.
func GetFrontDoorFrontendEndpoint
deprecated
added in
v0.38.5
func GetFrontDoorFrontendEndpoint(t testing.TestingT, endpointName string, frontDoorName string, resourceGroupName string, subscriptionID string) *armfrontdoor.FrontendEndpoint
GetFrontDoorFrontendEndpoint gets a frontend endpoint by name for the provided Front Door if it exists for the subscription. This function would fail the test if there is an error.
Deprecated: Use GetFrontDoorFrontendEndpointContext instead.
func GetFrontDoorFrontendEndpointClientE
deprecated
added in
v0.38.5
func GetFrontDoorFrontendEndpointClientE(subscriptionID string) (*armfrontdoor.FrontendEndpointsClient, error)
GetFrontDoorFrontendEndpointClientE returns a Front Door frontend endpoints client; otherwise error.
Deprecated: Use CreateFrontDoorFrontendEndpointClientContextE instead.
func GetFrontDoorFrontendEndpointContext ¶ added in v1.0.0
func GetFrontDoorFrontendEndpointContext(t testing.TestingT, ctx context.Context, endpointName string, frontDoorName string, resourceGroupName string, subscriptionID string) *armfrontdoor.FrontendEndpoint
GetFrontDoorFrontendEndpointContext gets a frontend endpoint by name for the provided Front Door if it exists for the subscription. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetFrontDoorFrontendEndpointContextE ¶ added in v1.0.0
func GetFrontDoorFrontendEndpointContextE(ctx context.Context, endpointName, frontDoorName, resourceGroupName, subscriptionID string) (*armfrontdoor.FrontendEndpoint, error)
GetFrontDoorFrontendEndpointContextE gets the specified Frontend Endpoint for the provided Front Door if it exists. The ctx parameter supports cancellation and timeouts.
func GetFrontDoorFrontendEndpointE
deprecated
added in
v0.38.5
func GetFrontDoorFrontendEndpointE(endpointName, frontDoorName, resourceGroupName, subscriptionID string) (*armfrontdoor.FrontendEndpoint, error)
GetFrontDoorFrontendEndpointE gets the specified Frontend Endpoint for the provided Front Door if it exists.
Deprecated: Use GetFrontDoorFrontendEndpointContextE instead.
func GetFrontDoorFrontendEndpointWithClient ¶ added in v1.0.0
func GetFrontDoorFrontendEndpointWithClient(ctx context.Context, client *armfrontdoor.FrontendEndpointsClient, resourceGroupName, frontDoorName, endpointName string) (*armfrontdoor.FrontendEndpoint, error)
GetFrontDoorFrontendEndpointWithClient gets the specified Frontend Endpoint using the provided client. This variant is useful for testing with fake clients.
func GetFrontDoorWithClient ¶ added in v1.0.0
func GetFrontDoorWithClient(ctx context.Context, client *armfrontdoor.FrontDoorsClient, resourceGroupName, frontDoorName string) (*armfrontdoor.FrontDoor, error)
GetFrontDoorWithClient gets the specified Front Door using the provided client. This variant is useful for testing with fake clients.
func GetIPOfPublicIPAddressByName
deprecated
added in
v0.30.6
func GetIPOfPublicIPAddressByName(t testing.TestingT, publicAddressName string, resGroupName string, subscriptionID string) string
GetIPOfPublicIPAddressByName gets the IP of the specified Public IP Address. This function would fail the test if there is an error.
Deprecated: Use GetIPOfPublicIPAddressByNameContext instead.
func GetIPOfPublicIPAddressByNameContext ¶ added in v1.0.0
func GetIPOfPublicIPAddressByNameContext(t testing.TestingT, ctx context.Context, publicAddressName string, resGroupName string, subscriptionID string) string
GetIPOfPublicIPAddressByNameContext gets the IP of the specified Public IP Address. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetIPOfPublicIPAddressByNameContextE ¶ added in v1.0.0
func GetIPOfPublicIPAddressByNameContextE(ctx context.Context, publicAddressName string, resGroupName string, subscriptionID string) (string, error)
GetIPOfPublicIPAddressByNameContextE gets the IP of the specified Public IP Address. The ctx parameter supports cancellation and timeouts.
func GetIPOfPublicIPAddressByNameE
deprecated
added in
v0.30.6
func GetKeyVault
deprecated
added in
v0.31.5
func GetKeyVault(t testing.TestingT, resGroupName string, keyVaultName string, subscriptionID string) *armkeyvault.Vault
GetKeyVault is a helper function that gets the keyvault management object. This function would fail the test if there is an error.
Deprecated: Use GetKeyVaultContext instead.
func GetKeyVaultCertificatesClientContextE ¶ added in v1.0.0
func GetKeyVaultCertificatesClientContextE(_ context.Context, keyVaultName string) (*azcertificates.Client, error)
GetKeyVaultCertificatesClientContextE creates a KeyVault certificates client. The ctx parameter supports cancellation and timeouts.
func GetKeyVaultCertificatesClientE
deprecated
added in
v0.55.0
func GetKeyVaultCertificatesClientE(keyVaultName string) (*azcertificates.Client, error)
GetKeyVaultCertificatesClientE creates a KeyVault certificates client.
Deprecated: Use GetKeyVaultCertificatesClientContextE instead.
func GetKeyVaultContext ¶ added in v1.0.0
func GetKeyVaultContext(t testing.TestingT, ctx context.Context, resGroupName string, keyVaultName string, subscriptionID string) *armkeyvault.Vault
GetKeyVaultContext is a helper function that gets the keyvault management object. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetKeyVaultContextE ¶ added in v1.0.0
func GetKeyVaultContextE(t testing.TestingT, ctx context.Context, resGroupName string, keyVaultName string, subscriptionID string) (*armkeyvault.Vault, error)
GetKeyVaultContextE is a helper function that gets the keyvault management object. The ctx parameter supports cancellation and timeouts.
func GetKeyVaultE
deprecated
added in
v0.31.5
func GetKeyVaultE(t testing.TestingT, resGroupName string, keyVaultName string, subscriptionID string) (*armkeyvault.Vault, error)
GetKeyVaultE is a helper function that gets the keyvault management object.
Deprecated: Use GetKeyVaultContextE instead.
func GetKeyVaultKeysClientContextE ¶ added in v1.0.0
GetKeyVaultKeysClientContextE creates a KeyVault keys client. The ctx parameter supports cancellation and timeouts.
func GetKeyVaultKeysClientE
deprecated
added in
v0.55.0
GetKeyVaultKeysClientE creates a KeyVault keys client.
Deprecated: Use GetKeyVaultKeysClientContextE instead.
func GetKeyVaultManagementClientContextE ¶ added in v1.0.0
func GetKeyVaultManagementClientContextE(_ context.Context, subscriptionID string) (*armkeyvault.VaultsClient, error)
GetKeyVaultManagementClientContextE is a helper function that will setup a key vault management client. The ctx parameter supports cancellation and timeouts.
func GetKeyVaultManagementClientE
deprecated
added in
v0.31.5
func GetKeyVaultManagementClientE(subscriptionID string) (*armkeyvault.VaultsClient, error)
GetKeyVaultManagementClientE is a helper function that will setup a key vault management client.
Deprecated: Use GetKeyVaultManagementClientContextE instead.
func GetKeyVaultSecretsClientContextE ¶ added in v1.0.0
func GetKeyVaultSecretsClientContextE(_ context.Context, keyVaultName string) (*azsecrets.Client, error)
GetKeyVaultSecretsClientContextE creates a KeyVault secrets client. The ctx parameter supports cancellation and timeouts.
func GetKeyVaultSecretsClientE
deprecated
added in
v0.55.0
GetKeyVaultSecretsClientE creates a KeyVault secrets client.
Deprecated: Use GetKeyVaultSecretsClientContextE instead.
func GetKeyVaultURISuffixContextE ¶ added in v1.0.0
GetKeyVaultURISuffixContextE returns the proper KeyVault URI suffix for the configured Azure environment. The ctx parameter supports cancellation and timeouts.
func GetKeyVaultURISuffixE
deprecated
added in
v0.31.5
GetKeyVaultURISuffixE returns the proper KeyVault URI suffix for the configured Azure environment.
Deprecated: Use GetKeyVaultURISuffixContextE instead.
func GetKeyVaultWithClient ¶ added in v1.0.0
func GetKeyVaultWithClient(ctx context.Context, client *armkeyvault.VaultsClient, resGroupName string, keyVaultName string) (*armkeyvault.Vault, error)
GetKeyVaultWithClient gets the specified Key Vault using the provided VaultsClient. This variant is useful for testing with fake clients.
func GetLoadBalancer
deprecated
added in
v0.30.13
func GetLoadBalancer(t testing.TestingT, loadBalancerName string, resourceGroupName string, subscriptionID string) *armnetwork.LoadBalancer
GetLoadBalancer gets a Load Balancer network resource in the specified Azure Resource Group. This function would fail the test if there is an error.
Deprecated: Use GetLoadBalancerContext instead.
func GetLoadBalancerClientContextE ¶ added in v1.0.0
func GetLoadBalancerClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.LoadBalancersClient, error)
GetLoadBalancerClientContextE gets a new Load Balancer client in the specified Azure Subscription. The ctx parameter supports cancellation and timeouts.
func GetLoadBalancerClientE
deprecated
added in
v0.30.13
func GetLoadBalancerClientE(subscriptionID string) (*armnetwork.LoadBalancersClient, error)
GetLoadBalancerClientE gets a new Load Balancer client in the specified Azure Subscription.
Deprecated: Use GetLoadBalancerClientContextE instead.
func GetLoadBalancerContext ¶ added in v1.0.0
func GetLoadBalancerContext(t testing.TestingT, ctx context.Context, loadBalancerName string, resourceGroupName string, subscriptionID string) *armnetwork.LoadBalancer
GetLoadBalancerContext gets a Load Balancer network resource in the specified Azure Resource Group. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetLoadBalancerContextE ¶ added in v1.0.0
func GetLoadBalancerContextE(ctx context.Context, loadBalancerName string, resourceGroupName string, subscriptionID string) (*armnetwork.LoadBalancer, error)
GetLoadBalancerContextE gets a Load Balancer network resource in the specified Azure Resource Group. The ctx parameter supports cancellation and timeouts.
func GetLoadBalancerE
deprecated
added in
v0.30.13
func GetLoadBalancerE(loadBalancerName string, resourceGroupName string, subscriptionID string) (*armnetwork.LoadBalancer, error)
GetLoadBalancerE gets a Load Balancer network resource in the specified Azure Resource Group.
Deprecated: Use GetLoadBalancerContextE instead.
func GetLoadBalancerFrontendIPConfig
deprecated
added in
v0.30.13
func GetLoadBalancerFrontendIPConfig(t testing.TestingT, feConfigName string, loadBalancerName string, resourceGroupName string, subscriptionID string) *armnetwork.FrontendIPConfiguration
GetLoadBalancerFrontendIPConfig gets the specified Load Balancer Frontend IP Configuration network resource. This function would fail the test if there is an error.
Deprecated: Use GetLoadBalancerFrontendIPConfigContext instead.
func GetLoadBalancerFrontendIPConfigClientContextE ¶ added in v1.0.0
func GetLoadBalancerFrontendIPConfigClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.LoadBalancerFrontendIPConfigurationsClient, error)
GetLoadBalancerFrontendIPConfigClientContextE gets a new Load Balancer Frontend IP Configuration client in the specified Azure Subscription. The ctx parameter supports cancellation and timeouts.
func GetLoadBalancerFrontendIPConfigClientE
deprecated
added in
v0.30.13
func GetLoadBalancerFrontendIPConfigClientE(subscriptionID string) (*armnetwork.LoadBalancerFrontendIPConfigurationsClient, error)
GetLoadBalancerFrontendIPConfigClientE gets a new Load Balancer Frontend IP Configuration client in the specified Azure Subscription.
Deprecated: Use GetLoadBalancerFrontendIPConfigClientContextE instead.
func GetLoadBalancerFrontendIPConfigContext ¶ added in v1.0.0
func GetLoadBalancerFrontendIPConfigContext(t testing.TestingT, ctx context.Context, feConfigName string, loadBalancerName string, resourceGroupName string, subscriptionID string) *armnetwork.FrontendIPConfiguration
GetLoadBalancerFrontendIPConfigContext gets the specified Load Balancer Frontend IP Configuration network resource. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetLoadBalancerFrontendIPConfigContextE ¶ added in v1.0.0
func GetLoadBalancerFrontendIPConfigContextE(ctx context.Context, feConfigName string, loadBalancerName string, resourceGroupName string, subscriptionID string) (*armnetwork.FrontendIPConfiguration, error)
GetLoadBalancerFrontendIPConfigContextE gets the specified Load Balancer Frontend IP Configuration network resource. The ctx parameter supports cancellation and timeouts.
func GetLoadBalancerFrontendIPConfigE
deprecated
added in
v0.30.13
func GetLoadBalancerFrontendIPConfigE(feConfigName string, loadBalancerName string, resourceGroupName string, subscriptionID string) (*armnetwork.FrontendIPConfiguration, error)
GetLoadBalancerFrontendIPConfigE gets the specified Load Balancer Frontend IP Configuration network resource.
Deprecated: Use GetLoadBalancerFrontendIPConfigContextE instead.
func GetLoadBalancerFrontendIPConfigNames
deprecated
added in
v0.30.13
func GetLoadBalancerFrontendIPConfigNames(t testing.TestingT, loadBalancerName string, resourceGroupName string, subscriptionID string) []string
GetLoadBalancerFrontendIPConfigNames gets a list of the Frontend IP Configuration Names for the Load Balancer. This function would fail the test if there is an error.
Deprecated: Use GetLoadBalancerFrontendIPConfigNamesContext instead.
func GetLoadBalancerFrontendIPConfigNamesContext ¶ added in v1.0.0
func GetLoadBalancerFrontendIPConfigNamesContext(t testing.TestingT, ctx context.Context, loadBalancerName string, resourceGroupName string, subscriptionID string) []string
GetLoadBalancerFrontendIPConfigNamesContext gets a list of the Frontend IP Configuration Names for the Load Balancer. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetLoadBalancerFrontendIPConfigNamesContextE ¶ added in v1.0.0
func GetLoadBalancerFrontendIPConfigNamesContextE(ctx context.Context, loadBalancerName string, resourceGroupName string, subscriptionID string) ([]string, error)
GetLoadBalancerFrontendIPConfigNamesContextE gets a list of the Frontend IP Configuration Names for the Load Balancer. The ctx parameter supports cancellation and timeouts.
func GetLoadBalancerFrontendIPConfigNamesE
deprecated
added in
v0.30.13
func GetLoadBalancerFrontendIPConfigNamesE(loadBalancerName string, resourceGroupName string, subscriptionID string) ([]string, error)
GetLoadBalancerFrontendIPConfigNamesE gets a list of the Frontend IP Configuration Names for the Load Balancer.
Deprecated: Use GetLoadBalancerFrontendIPConfigNamesContextE instead.
func GetLoadBalancerFrontendIPConfigWithClient ¶ added in v1.0.0
func GetLoadBalancerFrontendIPConfigWithClient(ctx context.Context, client *armnetwork.LoadBalancerFrontendIPConfigurationsClient, resourceGroupName string, loadBalancerName string, feConfigName string) (*armnetwork.FrontendIPConfiguration, error)
GetLoadBalancerFrontendIPConfigWithClient gets the specified Load Balancer Frontend IP Configuration using the provided LoadBalancerFrontendIPConfigurationsClient.
func GetLoadBalancerWithClient ¶ added in v1.0.0
func GetLoadBalancerWithClient(ctx context.Context, client *armnetwork.LoadBalancersClient, resourceGroupName string, loadBalancerName string) (*armnetwork.LoadBalancer, error)
GetLoadBalancerWithClient gets a Load Balancer using the provided LoadBalancersClient.
func GetLogAnalyticsWorkspace
deprecated
added in
v0.32.7
func GetLogAnalyticsWorkspace(t testing.TestingT, workspaceName string, resourceGroupName string, subscriptionID string) *armoperationalinsights.Workspace
GetLogAnalyticsWorkspace gets an operational insights workspace if it exists in a subscription. This function would fail the test if there is an error.
Deprecated: Use GetLogAnalyticsWorkspaceContext instead.
func GetLogAnalyticsWorkspaceContext ¶ added in v1.0.0
func GetLogAnalyticsWorkspaceContext(t testing.TestingT, ctx context.Context, workspaceName string, resourceGroupName string, subscriptionID string) *armoperationalinsights.Workspace
GetLogAnalyticsWorkspaceContext gets an operational insights workspace if it exists in a subscription. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetLogAnalyticsWorkspaceContextE ¶ added in v1.0.0
func GetLogAnalyticsWorkspaceContextE(ctx context.Context, workspaceName, resourceGroupName, subscriptionID string) (*armoperationalinsights.Workspace, error)
GetLogAnalyticsWorkspaceContextE gets an operational insights workspace if it exists in a subscription. The ctx parameter supports cancellation and timeouts.
func GetLogAnalyticsWorkspaceE
deprecated
added in
v0.32.7
func GetLogAnalyticsWorkspaceE(workspaceName, resourceGroupName, subscriptionID string) (*armoperationalinsights.Workspace, error)
GetLogAnalyticsWorkspaceE gets an operational insights workspace if it exists in a subscription.
Deprecated: Use GetLogAnalyticsWorkspaceContextE instead.
func GetLogAnalyticsWorkspaceWithClient ¶ added in v1.0.0
func GetLogAnalyticsWorkspaceWithClient(ctx context.Context, client *armoperationalinsights.WorkspacesClient, resourceGroupName string, workspaceName string) (*armoperationalinsights.Workspace, error)
GetLogAnalyticsWorkspaceWithClient gets an operational insights workspace using the provided WorkspacesClient.
func GetLogAnalyticsWorkspacesClientContextE
deprecated
added in
v1.0.0
func GetLogAnalyticsWorkspacesClientContextE(ctx context.Context, subscriptionID string) (*armoperationalinsights.WorkspacesClient, error)
GetLogAnalyticsWorkspacesClientContextE returns a workspaces client; otherwise error. The ctx parameter supports cancellation and timeouts.
Deprecated: Use CreateLogAnalyticsWorkspacesClientContextE instead.
func GetLogAnalyticsWorkspacesClientE
deprecated
added in
v0.32.7
func GetLogAnalyticsWorkspacesClientE(subscriptionID string) (*armoperationalinsights.WorkspacesClient, error)
GetLogAnalyticsWorkspacesClientE returns a workspaces client; otherwise error.
Deprecated: Use CreateLogAnalyticsWorkspacesClientContextE instead.
func GetMYSQLDB
deprecated
added in
v0.30.20
func GetMYSQLDBClientContextE ¶ added in v1.0.0
func GetMYSQLDBClientContextE(_ context.Context, subscriptionID string) (*armmysql.DatabasesClient, error)
GetMYSQLDBClientContextE is a helper function that will setup a mysql DB client. The ctx parameter supports cancellation and timeouts.
func GetMYSQLDBClientE
deprecated
added in
v0.30.20
func GetMYSQLDBClientE(subscriptionID string) (*armmysql.DatabasesClient, error)
GetMYSQLDBClientE is a helper function that will setup a mysql DB client.
Deprecated: Use GetMYSQLDBClientContextE instead.
func GetMYSQLDBContext ¶ added in v1.0.0
func GetMYSQLDBContext(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, serverName string, dbName string) *armmysql.Database
GetMYSQLDBContext is a helper function that gets the database. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetMYSQLDBContextE ¶ added in v1.0.0
func GetMYSQLDBContextE(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, serverName string, dbName string) (*armmysql.Database, error)
GetMYSQLDBContextE is a helper function that gets the database. The ctx parameter supports cancellation and timeouts.
func GetMYSQLDBWithClient ¶ added in v1.0.0
func GetMYSQLDBWithClient(ctx context.Context, client *armmysql.DatabasesClient, resGroupName string, serverName string, dbName string) (*armmysql.Database, error)
GetMYSQLDBWithClient gets the database using the provided DatabasesClient.
func GetMYSQLServer
deprecated
added in
v0.30.20
func GetMYSQLServerClientContextE ¶ added in v1.0.0
func GetMYSQLServerClientContextE(_ context.Context, subscriptionID string) (*armmysql.ServersClient, error)
GetMYSQLServerClientContextE is a helper function that will setup a mysql server client. The ctx parameter supports cancellation and timeouts.
func GetMYSQLServerClientE
deprecated
added in
v0.30.20
func GetMYSQLServerClientE(subscriptionID string) (*armmysql.ServersClient, error)
GetMYSQLServerClientE is a helper function that will setup a mysql server client.
Deprecated: Use GetMYSQLServerClientContextE instead.
func GetMYSQLServerContext ¶ added in v1.0.0
func GetMYSQLServerContext(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, serverName string) *armmysql.Server
GetMYSQLServerContext is a helper function that gets the server. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetMYSQLServerContextE ¶ added in v1.0.0
func GetMYSQLServerContextE(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, serverName string) (*armmysql.Server, error)
GetMYSQLServerContextE is a helper function that gets the server. The ctx parameter supports cancellation and timeouts.
func GetMYSQLServerE
deprecated
added in
v0.30.20
func GetMYSQLServerWithClient ¶ added in v1.0.0
func GetMYSQLServerWithClient(ctx context.Context, client *armmysql.ServersClient, resGroupName string, serverName string) (*armmysql.Server, error)
GetMYSQLServerWithClient gets the server using the provided ServersClient.
func GetManagedClusterContext ¶ added in v1.0.0
func GetManagedClusterContext(t testing.TestingT, ctx context.Context, resourceGroupName, clusterName, subscriptionID string) *armcontainerservice.ManagedCluster
GetManagedClusterContext returns a ManagedCluster for the specified cluster in the given resource group. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetManagedClusterContextE ¶ added in v1.0.0
func GetManagedClusterContextE(t testing.TestingT, ctx context.Context, resourceGroupName, clusterName, subscriptionID string) (*armcontainerservice.ManagedCluster, error)
GetManagedClusterContextE returns a ManagedCluster for the specified cluster in the given resource group. The ctx parameter supports cancellation and timeouts.
func GetManagedClusterE
deprecated
added in
v0.24.2
func GetManagedClusterE(t testing.TestingT, resourceGroupName, clusterName, subscriptionID string) (*armcontainerservice.ManagedCluster, error)
GetManagedClusterE returns a ManagedCluster for the specified cluster in the given resource group.
Deprecated: Use GetManagedClusterContextE instead.
func GetManagedClusterWithClient ¶ added in v1.0.0
func GetManagedClusterWithClient(ctx context.Context, client *armcontainerservice.ManagedClustersClient, resourceGroupName string, clusterName string) (*armcontainerservice.ManagedCluster, error)
GetManagedClusterWithClient returns a ManagedCluster using the provided ManagedClustersClient.
func GetManagedEnvironment
deprecated
added in
v0.48.2
func GetManagedEnvironment(t testing.TestingT, environmentName string, resourceGroupName string, subscriptionID string) *armappcontainers.ManagedEnvironment
GetManagedEnvironment gets the Managed Environment object. This function would fail the test if there is an error.
Deprecated: Use GetManagedEnvironmentContext instead.
func GetManagedEnvironmentContext ¶ added in v1.0.0
func GetManagedEnvironmentContext(t testing.TestingT, ctx context.Context, environmentName string, resourceGroupName string, subscriptionID string) *armappcontainers.ManagedEnvironment
GetManagedEnvironmentContext returns the Managed Environment object. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetManagedEnvironmentContextE ¶ added in v1.0.0
func GetManagedEnvironmentContextE(ctx context.Context, environmentName string, resourceGroupName string, subscriptionID string) (*armappcontainers.ManagedEnvironment, error)
GetManagedEnvironmentContextE returns the Managed Environment object. The ctx parameter supports cancellation and timeouts.
func GetManagedEnvironmentE
deprecated
added in
v0.48.2
func GetManagedEnvironmentE(environmentName string, resourceGroupName string, subscriptionID string) (*armappcontainers.ManagedEnvironment, error)
GetManagedEnvironmentE gets the Managed Environment object.
Deprecated: Use GetManagedEnvironmentContextE instead.
func GetManagedEnvironmentWithClient ¶ added in v1.0.0
func GetManagedEnvironmentWithClient(ctx context.Context, client *armappcontainers.ManagedEnvironmentsClient, resourceGroupName string, environmentName string) (*armappcontainers.ManagedEnvironment, error)
GetManagedEnvironmentWithClient returns a Managed Environment using the provided ManagedEnvironmentsClient. This variant is useful for testing with fake clients.
func GetManagedInstance
deprecated
added in
v0.43.7
func GetManagedInstance(t testing.TestingT, resGroupName string, managedInstanceName string, subscriptionID string) *armsql.ManagedInstance
GetManagedInstance retrieves the SQL managed instance object for the given subscription. This function would fail the test if there is an error.
Deprecated: Use GetManagedInstanceContext instead.
func GetManagedInstanceContext ¶ added in v1.0.0
func GetManagedInstanceContext(t testing.TestingT, ctx context.Context, resGroupName string, managedInstanceName string, subscriptionID string) *armsql.ManagedInstance
GetManagedInstanceContext retrieves the SQL managed instance object for the given subscription. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetManagedInstanceContextE ¶ added in v1.0.0
func GetManagedInstanceContextE(ctx context.Context, subscriptionID string, resGroupName string, managedInstanceName string) (*armsql.ManagedInstance, error)
GetManagedInstanceContextE retrieves the SQL managed instance object for the given subscription. The ctx parameter supports cancellation and timeouts.
func GetManagedInstanceDatabase
deprecated
added in
v0.43.7
func GetManagedInstanceDatabase(t testing.TestingT, resGroupName string, managedInstanceName string, databaseName string, subscriptionID string) *armsql.ManagedDatabase
GetManagedInstanceDatabase retrieves the SQL managed database object for the given subscription. This function would fail the test if there is an error.
Deprecated: Use GetManagedInstanceDatabaseContext instead.
func GetManagedInstanceDatabaseContext ¶ added in v1.0.0
func GetManagedInstanceDatabaseContext(t testing.TestingT, ctx context.Context, resGroupName string, managedInstanceName string, databaseName string, subscriptionID string) *armsql.ManagedDatabase
GetManagedInstanceDatabaseContext retrieves the SQL managed database object for the given subscription. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetManagedInstanceDatabaseContextE ¶ added in v1.0.0
func GetManagedInstanceDatabaseContextE(ctx context.Context, subscriptionID string, resGroupName string, managedInstanceName string, databaseName string) (*armsql.ManagedDatabase, error)
GetManagedInstanceDatabaseContextE retrieves the SQL managed database object for the given subscription. The ctx parameter supports cancellation and timeouts.
func GetManagedInstanceDatabaseE
deprecated
added in
v0.43.7
func GetManagedInstanceDatabaseE(t testing.TestingT, subscriptionID string, resGroupName string, managedInstanceName string, databaseName string) (*armsql.ManagedDatabase, error)
GetManagedInstanceDatabaseE retrieves the SQL managed database object for the given subscription.
Deprecated: Use GetManagedInstanceDatabaseContextE instead.
func GetManagedInstanceDatabaseWithClient ¶ added in v1.0.0
func GetManagedInstanceDatabaseWithClient(ctx context.Context, client *armsql.ManagedDatabasesClient, resGroupName string, managedInstanceName string, databaseName string) (*armsql.ManagedDatabase, error)
GetManagedInstanceDatabaseWithClient retrieves the SQL managed database using the provided ManagedDatabasesClient.
func GetManagedInstanceE
deprecated
added in
v0.43.7
func GetManagedInstanceE(subscriptionID string, resGroupName string, managedInstanceName string) (*armsql.ManagedInstance, error)
GetManagedInstanceE retrieves the SQL managed instance object for the given subscription.
Deprecated: Use GetManagedInstanceContextE instead.
func GetManagedInstanceWithClient ¶ added in v1.0.0
func GetManagedInstanceWithClient(ctx context.Context, client *armsql.ManagedInstancesClient, resGroupName string, managedInstanceName string) (*armsql.ManagedInstance, error)
GetManagedInstanceWithClient retrieves the SQL managed instance using the provided ManagedInstancesClient.
func GetNameFromResourceID ¶ added in v0.30.3
GetNameFromResourceID gets the Name from an Azure Resource ID.
func GetNameFromResourceIDE ¶ added in v0.30.12
GetNameFromResourceIDE gets the Name from an Azure Resource ID. This function would fail the test if there is an error.
func GetNetworkInterfaceClientContextE ¶ added in v1.0.0
func GetNetworkInterfaceClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.InterfacesClient, error)
GetNetworkInterfaceClientContextE creates a new Network Interface client in the specified Azure Subscription. The ctx parameter supports cancellation and timeouts.
func GetNetworkInterfaceClientE
deprecated
added in
v0.30.6
func GetNetworkInterfaceClientE(subscriptionID string) (*armnetwork.InterfacesClient, error)
GetNetworkInterfaceClientE creates a new Network Interface client in the specified Azure Subscription.
Deprecated: Use GetNetworkInterfaceClientContextE instead.
func GetNetworkInterfaceConfigurationClientContextE ¶ added in v1.0.0
func GetNetworkInterfaceConfigurationClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.InterfaceIPConfigurationsClient, error)
GetNetworkInterfaceConfigurationClientContextE creates a new Network Interface Configuration client in the specified Azure Subscription. The ctx parameter supports cancellation and timeouts.
func GetNetworkInterfaceConfigurationClientE
deprecated
added in
v0.30.6
func GetNetworkInterfaceConfigurationClientE(subscriptionID string) (*armnetwork.InterfaceIPConfigurationsClient, error)
GetNetworkInterfaceConfigurationClientE creates a new Network Interface Configuration client in the specified Azure Subscription.
Deprecated: Use GetNetworkInterfaceConfigurationClientContextE instead.
func GetNetworkInterfaceConfigurationContextE ¶ added in v1.0.0
func GetNetworkInterfaceConfigurationContextE(ctx context.Context, nicName string, nicConfigName string, resGroupName string, subscriptionID string) (*armnetwork.InterfaceIPConfiguration, error)
GetNetworkInterfaceConfigurationContextE gets a Network Interface Configuration in the specified Azure Resource Group. The ctx parameter supports cancellation and timeouts.
func GetNetworkInterfaceConfigurationE
deprecated
added in
v0.30.6
func GetNetworkInterfaceConfigurationE(nicName string, nicConfigName string, resGroupName string, subscriptionID string) (*armnetwork.InterfaceIPConfiguration, error)
GetNetworkInterfaceConfigurationE gets a Network Interface IP Configuration in the specified Azure Resource Group.
Deprecated: Use GetNetworkInterfaceConfigurationContextE instead.
func GetNetworkInterfaceContextE ¶ added in v1.0.0
func GetNetworkInterfaceContextE(ctx context.Context, nicName string, resGroupName string, subscriptionID string) (*armnetwork.Interface, error)
GetNetworkInterfaceContextE gets a Network Interface in the specified Azure Resource Group. The ctx parameter supports cancellation and timeouts.
func GetNetworkInterfaceE
deprecated
added in
v0.30.6
func GetNetworkInterfaceE(nicName string, resGroupName string, subscriptionID string) (*armnetwork.Interface, error)
GetNetworkInterfaceE gets a Network Interface in the specified Azure Resource Group.
Deprecated: Use GetNetworkInterfaceContextE instead.
func GetNetworkInterfacePrivateIPs
deprecated
added in
v0.30.6
func GetNetworkInterfacePrivateIPs(t testing.TestingT, nicName string, resGroupName string, subscriptionID string) []string
GetNetworkInterfacePrivateIPs gets a list of the Private IPs of a Network Interface configs. This function would fail the test if there is an error.
Deprecated: Use GetNetworkInterfacePrivateIPsContext instead.
func GetNetworkInterfacePrivateIPsContext ¶ added in v1.0.0
func GetNetworkInterfacePrivateIPsContext(t testing.TestingT, ctx context.Context, nicName string, resGroupName string, subscriptionID string) []string
GetNetworkInterfacePrivateIPsContext gets a list of the Private IPs of a Network Interface configs. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetNetworkInterfacePrivateIPsContextE ¶ added in v1.0.0
func GetNetworkInterfacePrivateIPsContextE(ctx context.Context, nicName string, resGroupName string, subscriptionID string) ([]string, error)
GetNetworkInterfacePrivateIPsContextE gets a list of the Private IPs of a Network Interface configs. The ctx parameter supports cancellation and timeouts.
func GetNetworkInterfacePrivateIPsE
deprecated
added in
v0.30.6
func GetNetworkInterfacePublicIPs
deprecated
added in
v0.30.6
func GetNetworkInterfacePublicIPs(t testing.TestingT, nicName string, resGroupName string, subscriptionID string) []string
GetNetworkInterfacePublicIPs returns a list of all the Public IPs found in the Network Interface configurations. This function would fail the test if there is an error.
Deprecated: Use GetNetworkInterfacePublicIPsContext instead.
func GetNetworkInterfacePublicIPsContext ¶ added in v1.0.0
func GetNetworkInterfacePublicIPsContext(t testing.TestingT, ctx context.Context, nicName string, resGroupName string, subscriptionID string) []string
GetNetworkInterfacePublicIPsContext returns a list of all the Public IPs found in the Network Interface configurations. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetNetworkInterfacePublicIPsContextE ¶ added in v1.0.0
func GetNetworkInterfacePublicIPsContextE(ctx context.Context, nicName string, resGroupName string, subscriptionID string) ([]string, error)
GetNetworkInterfacePublicIPsContextE returns a list of all the Public IPs found in the Network Interface configurations. The ctx parameter supports cancellation and timeouts.
func GetNetworkInterfacePublicIPsE
deprecated
added in
v0.30.6
func GetNetworkInterfaceWithClient ¶ added in v1.0.0
func GetNetworkInterfaceWithClient(ctx context.Context, client *armnetwork.InterfacesClient, resGroupName string, nicName string) (*armnetwork.Interface, error)
GetNetworkInterfaceWithClient gets a Network Interface using the provided InterfacesClient.
func GetPostgreSQLDB
deprecated
added in
v0.32.22
func GetPostgreSQLDB(t testing.TestingT, resGroupName string, serverName string, dbName string, subscriptionID string) *armpostgresql.Database
GetPostgreSQLDB is a helper function that gets the database. This function would fail the test if there is an error.
Deprecated: Use GetPostgreSQLDBContext instead.
func GetPostgreSQLDBClientContextE ¶ added in v1.0.0
func GetPostgreSQLDBClientContextE(_ context.Context, subscriptionID string) (*armpostgresql.DatabasesClient, error)
GetPostgreSQLDBClientContextE is a helper function that will setup a postgresql DB client. The ctx parameter supports cancellation and timeouts.
func GetPostgreSQLDBClientE
deprecated
added in
v0.32.22
func GetPostgreSQLDBClientE(subscriptionID string) (*armpostgresql.DatabasesClient, error)
GetPostgreSQLDBClientE is a helper function that will setup a postgresql DB client.
Deprecated: Use GetPostgreSQLDBClientContextE instead.
func GetPostgreSQLDBContext ¶ added in v1.0.0
func GetPostgreSQLDBContext(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, serverName string, dbName string) *armpostgresql.Database
GetPostgreSQLDBContext is a helper function that gets the database. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetPostgreSQLDBContextE ¶ added in v1.0.0
func GetPostgreSQLDBContextE(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, serverName string, dbName string) (*armpostgresql.Database, error)
GetPostgreSQLDBContextE is a helper function that gets the database. The ctx parameter supports cancellation and timeouts.
func GetPostgreSQLDBE
deprecated
added in
v0.32.22
func GetPostgreSQLDBE(t testing.TestingT, subscriptionID string, resGroupName string, serverName string, dbName string) (*armpostgresql.Database, error)
GetPostgreSQLDBE is a helper function that gets the database.
Deprecated: Use GetPostgreSQLDBContextE instead.
func GetPostgreSQLDBWithClient ¶ added in v1.0.0
func GetPostgreSQLDBWithClient(ctx context.Context, client *armpostgresql.DatabasesClient, resGroupName string, serverName string, dbName string) (*armpostgresql.Database, error)
GetPostgreSQLDBWithClient gets the database using the provided DatabasesClient.
func GetPostgreSQLServer
deprecated
added in
v0.32.22
func GetPostgreSQLServer(t testing.TestingT, resGroupName string, serverName string, subscriptionID string) *armpostgresql.Server
GetPostgreSQLServer is a helper function that gets the server. This function would fail the test if there is an error.
Deprecated: Use GetPostgreSQLServerContext instead.
func GetPostgreSQLServerClientContextE ¶ added in v1.0.0
func GetPostgreSQLServerClientContextE(_ context.Context, subscriptionID string) (*armpostgresql.ServersClient, error)
GetPostgreSQLServerClientContextE is a helper function that will setup a postgresql server client. The ctx parameter supports cancellation and timeouts.
func GetPostgreSQLServerClientE
deprecated
added in
v0.32.22
func GetPostgreSQLServerClientE(subscriptionID string) (*armpostgresql.ServersClient, error)
GetPostgreSQLServerClientE is a helper function that will setup a postgresql server client.
Deprecated: Use GetPostgreSQLServerClientContextE instead.
func GetPostgreSQLServerContext ¶ added in v1.0.0
func GetPostgreSQLServerContext(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, serverName string) *armpostgresql.Server
GetPostgreSQLServerContext is a helper function that gets the server. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetPostgreSQLServerContextE ¶ added in v1.0.0
func GetPostgreSQLServerContextE(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, serverName string) (*armpostgresql.Server, error)
GetPostgreSQLServerContextE is a helper function that gets the server. The ctx parameter supports cancellation and timeouts.
func GetPostgreSQLServerE
deprecated
added in
v0.32.22
func GetPostgreSQLServerE(t testing.TestingT, subscriptionID string, resGroupName string, serverName string) (*armpostgresql.Server, error)
GetPostgreSQLServerE is a helper function that gets the server.
Deprecated: Use GetPostgreSQLServerContextE instead.
func GetPostgreSQLServerWithClient ¶ added in v1.0.0
func GetPostgreSQLServerWithClient(ctx context.Context, client *armpostgresql.ServersClient, resGroupName string, serverName string) (*armpostgresql.Server, error)
GetPostgreSQLServerWithClient gets the server using the provided ServersClient.
func GetPrivateDNSZoneContextE ¶ added in v1.0.0
func GetPrivateDNSZoneContextE(ctx context.Context, zoneName string, resGroupName string, subscriptionID string) (*armprivatedns.PrivateZone, error)
GetPrivateDNSZoneContextE gets the specified private DNS zone object. The ctx parameter supports cancellation and timeouts.
func GetPrivateDNSZoneWithClient ¶ added in v1.0.0
func GetPrivateDNSZoneWithClient(ctx context.Context, client *armprivatedns.PrivateZonesClient, resGroupName string, zoneName string) (*armprivatedns.PrivateZone, error)
GetPrivateDNSZoneWithClient gets the specified private DNS zone using the provided PrivateZonesClient. This variant is useful for testing with fake clients.
func GetPublicIPAddressClientContextE ¶ added in v1.0.0
func GetPublicIPAddressClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.PublicIPAddressesClient, error)
GetPublicIPAddressClientContextE creates a Public IP Addresses client in the specified Azure Subscription. The ctx parameter supports cancellation and timeouts.
func GetPublicIPAddressClientE
deprecated
added in
v0.30.6
func GetPublicIPAddressClientE(subscriptionID string) (*armnetwork.PublicIPAddressesClient, error)
GetPublicIPAddressClientE creates a Public IP Addresses client in the specified Azure Subscription.
Deprecated: Use GetPublicIPAddressClientContextE instead.
func GetPublicIPAddressContextE ¶ added in v1.0.0
func GetPublicIPAddressContextE(ctx context.Context, publicIPAddressName string, resGroupName string, subscriptionID string) (*armnetwork.PublicIPAddress, error)
GetPublicIPAddressContextE gets a Public IP Address in the specified Azure Resource Group. The ctx parameter supports cancellation and timeouts.
func GetPublicIPAddressE
deprecated
added in
v0.30.6
func GetPublicIPAddressE(publicIPAddressName string, resGroupName string, subscriptionID string) (*armnetwork.PublicIPAddress, error)
GetPublicIPAddressE gets a Public IP Address in the specified Azure Resource Group.
Deprecated: Use GetPublicIPAddressContextE instead.
func GetPublicIPAddressWithClient ¶ added in v1.0.0
func GetPublicIPAddressWithClient(ctx context.Context, client *armnetwork.PublicIPAddressesClient, resGroupName string, publicIPAddressName string) (*armnetwork.PublicIPAddress, error)
GetPublicIPAddressWithClient gets a Public IP Address using the provided PublicIPAddressesClient.
func GetRandomRegion
deprecated
func GetRandomRegion(t testing.TestingT, approvedRegions []string, forbiddenRegions []string, subscriptionID string) string
GetRandomRegion gets a randomly chosen Azure region. If approvedRegions is not empty, this will be a region from the approvedRegions list; otherwise, this method will fetch the latest list of regions from the Azure APIs and pick one of those. If forbiddenRegions is not empty, this method will make sure the returned region is not in the forbiddenRegions list. This function would fail the test if there is an error.
Deprecated: Use GetRandomRegionContext instead.
func GetRandomRegionContext ¶ added in v1.0.0
func GetRandomRegionContext(t testing.TestingT, ctx context.Context, approvedRegions []string, forbiddenRegions []string, subscriptionID string) string
GetRandomRegionContext gets a randomly chosen Azure region. If approvedRegions is not empty, this will be a region from the approvedRegions list; otherwise, this method will fetch the latest list of regions from the Azure APIs and pick one of those. If forbiddenRegions is not empty, this method will make sure the returned region is not in the forbiddenRegions list. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetRandomRegionContextE ¶ added in v1.0.0
func GetRandomRegionContextE(t testing.TestingT, ctx context.Context, approvedRegions []string, forbiddenRegions []string, subscriptionID string) (string, error)
GetRandomRegionContextE gets a randomly chosen Azure region. If approvedRegions is not empty, this will be a region from the approvedRegions list; otherwise, this method will fetch the latest list of regions from the Azure APIs and pick one of those. If forbiddenRegions is not empty, this method will make sure the returned region is not in the forbiddenRegions list. The ctx parameter supports cancellation and timeouts.
func GetRandomRegionE
deprecated
func GetRandomRegionE(t testing.TestingT, approvedRegions []string, forbiddenRegions []string, subscriptionID string) (string, error)
GetRandomRegionE gets a randomly chosen Azure region. If approvedRegions is not empty, this will be a region from the approvedRegions list; otherwise, this method will fetch the latest list of regions from the Azure APIs and pick one of those. If forbiddenRegions is not empty, this method will make sure the returned region is not in the forbiddenRegions list.
Deprecated: Use GetRandomRegionContextE instead.
func GetRandomStableRegion
deprecated
func GetRandomStableRegion(t testing.TestingT, approvedRegions []string, forbiddenRegions []string, subscriptionID string) string
GetRandomStableRegion gets a randomly chosen Azure region that is considered stable. Like GetRandomRegion, you can further restrict the stable region list using approvedRegions and forbiddenRegions. We consider stable regions to be those that have been around for at least 1 year. Note that regions in the approvedRegions list that are not considered stable are ignored. This function would fail the test if there is an error.
Deprecated: Use GetRandomStableRegionContext instead.
func GetRandomStableRegionContext ¶ added in v1.0.0
func GetRandomStableRegionContext(t testing.TestingT, ctx context.Context, approvedRegions []string, forbiddenRegions []string, subscriptionID string) string
GetRandomStableRegionContext gets a randomly chosen Azure region that is considered stable. Like GetRandomRegionContext, you can further restrict the stable region list using approvedRegions and forbiddenRegions. We consider stable regions to be those that have been around for at least 1 year. Note that regions in the approvedRegions list that are not considered stable are ignored. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetRecoveryServicesVaultBackupPolicyList
deprecated
added in
v0.31.2
func GetRecoveryServicesVaultBackupPolicyList(t testing.TestingT, vaultName, resourceGroupName, subscriptionID string) map[string]armrecoveryservicesbackup.ProtectionPolicyResource
GetRecoveryServicesVaultBackupPolicyList returns a list of backup policies for the given vault. This function would fail the test if there is an error.
Deprecated: Use GetRecoveryServicesVaultBackupPolicyListContext instead.
func GetRecoveryServicesVaultBackupPolicyListContext ¶ added in v1.0.0
func GetRecoveryServicesVaultBackupPolicyListContext(t testing.TestingT, ctx context.Context, vaultName, resourceGroupName, subscriptionID string) map[string]armrecoveryservicesbackup.ProtectionPolicyResource
GetRecoveryServicesVaultBackupPolicyListContext returns a list of backup policies for the given vault. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetRecoveryServicesVaultBackupPolicyListContextE ¶ added in v1.0.0
func GetRecoveryServicesVaultBackupPolicyListContextE(ctx context.Context, vaultName, resourceGroupName, subscriptionID string) (map[string]armrecoveryservicesbackup.ProtectionPolicyResource, error)
GetRecoveryServicesVaultBackupPolicyListContextE returns a list of backup policies for the given vault. The ctx parameter supports cancellation and timeouts.
func GetRecoveryServicesVaultBackupPolicyListE
deprecated
added in
v0.31.2
func GetRecoveryServicesVaultBackupPolicyListE(vaultName, resourceGroupName, subscriptionID string) (map[string]armrecoveryservicesbackup.ProtectionPolicyResource, error)
GetRecoveryServicesVaultBackupPolicyListE returns a list of backup policies for the given vault.
Deprecated: Use GetRecoveryServicesVaultBackupPolicyListContextE instead.
func GetRecoveryServicesVaultBackupProtectedVMList
deprecated
added in
v0.31.2
func GetRecoveryServicesVaultBackupProtectedVMList(t testing.TestingT, policyName, vaultName, resourceGroupName, subscriptionID string) map[string]armrecoveryservicesbackup.AzureIaaSComputeVMProtectedItem
GetRecoveryServicesVaultBackupProtectedVMList returns a list of protected VM's on the given vault/policy. This function would fail the test if there is an error.
Deprecated: Use GetRecoveryServicesVaultBackupProtectedVMListContext instead.
func GetRecoveryServicesVaultBackupProtectedVMListContext ¶ added in v1.0.0
func GetRecoveryServicesVaultBackupProtectedVMListContext(t testing.TestingT, ctx context.Context, policyName, vaultName, resourceGroupName, subscriptionID string) map[string]armrecoveryservicesbackup.AzureIaaSComputeVMProtectedItem
GetRecoveryServicesVaultBackupProtectedVMListContext returns a list of protected VMs on the given vault and policy. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetRecoveryServicesVaultBackupProtectedVMListContextE ¶ added in v1.0.0
func GetRecoveryServicesVaultBackupProtectedVMListContextE(ctx context.Context, policyName, vaultName, resourceGroupName, subscriptionID string) (map[string]armrecoveryservicesbackup.AzureIaaSComputeVMProtectedItem, error)
GetRecoveryServicesVaultBackupProtectedVMListContextE returns a list of protected VMs on the given vault and policy. The ctx parameter supports cancellation and timeouts.
func GetRecoveryServicesVaultBackupProtectedVMListE
deprecated
added in
v0.31.2
func GetRecoveryServicesVaultBackupProtectedVMListE(policyName, vaultName, resourceGroupName, subscriptionID string) (map[string]armrecoveryservicesbackup.AzureIaaSComputeVMProtectedItem, error)
GetRecoveryServicesVaultBackupProtectedVMListE returns a list of protected VM's on the given vault/policy.
Deprecated: Use GetRecoveryServicesVaultBackupProtectedVMListContextE instead.
func GetRecoveryServicesVaultContextE ¶ added in v1.0.0
func GetRecoveryServicesVaultContextE(ctx context.Context, vaultName, resourceGroupName, subscriptionID string) (*armrecoveryservices.Vault, error)
GetRecoveryServicesVaultContextE returns a recovery services vault instance. The ctx parameter supports cancellation and timeouts.
func GetRecoveryServicesVaultE
deprecated
added in
v0.31.2
func GetRecoveryServicesVaultE(vaultName, resourceGroupName, subscriptionID string) (*armrecoveryservices.Vault, error)
GetRecoveryServicesVaultE returns a vault instance.
Deprecated: Use GetRecoveryServicesVaultContextE instead.
func GetRecoveryServicesVaultWithClient ¶ added in v1.0.0
func GetRecoveryServicesVaultWithClient(ctx context.Context, client *armrecoveryservices.VaultsClient, resourceGroupName, vaultName string) (*armrecoveryservices.Vault, error)
GetRecoveryServicesVaultWithClient retrieves a recovery services vault using the provided client.
func GetResourceGroupContextE ¶ added in v1.0.0
func GetResourceGroupContextE(ctx context.Context, resourceGroupName, subscriptionID string) (bool, error)
GetResourceGroupContextE checks whether a resource group name matches the one retrieved from the subscription. Azure resource group names are case-insensitive, so the comparison is performed with EqualFold. The ctx parameter supports cancellation and timeouts.
func GetResourceGroupE
deprecated
added in
v0.30.12
GetResourceGroupE checks whether a resource group name matches the one retrieved from the subscription.
Deprecated: Use GetResourceGroupContextE instead.
func GetSQLDatabase
deprecated
added in
v0.30.9
func GetSQLDatabaseContext ¶ added in v1.0.0
func GetSQLDatabaseContext(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, serverName string, dbName string) *armsql.Database
GetSQLDatabaseContext is a helper function that gets the sql db. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetSQLDatabaseContextE ¶ added in v1.0.0
func GetSQLDatabaseContextE(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, serverName string, dbName string) (*armsql.Database, error)
GetSQLDatabaseContextE is a helper function that gets the sql db. The ctx parameter supports cancellation and timeouts.
func GetSQLDatabaseE
deprecated
added in
v0.30.9
func GetSQLDatabaseWithClient ¶ added in v1.0.0
func GetSQLDatabaseWithClient(ctx context.Context, client *armsql.DatabasesClient, resGroupName string, serverName string, dbName string) (*armsql.Database, error)
GetSQLDatabaseWithClient gets the sql db using the provided DatabasesClient.
func GetSQLServer
deprecated
added in
v0.30.9
func GetSQLServerClient
deprecated
added in
v0.30.9
func GetSQLServerClient(subscriptionID string) (*armsql.ServersClient, error)
GetSQLServerClient is a helper function that will setup a sql server client.
Deprecated: Use GetSQLServerClientContext instead.
func GetSQLServerClientContext ¶ added in v1.0.0
func GetSQLServerClientContext(ctx context.Context, subscriptionID string) (*armsql.ServersClient, error)
GetSQLServerClientContext is a helper function that will setup a sql server client. The ctx parameter supports cancellation and timeouts.
func GetSQLServerContext ¶ added in v1.0.0
func GetSQLServerContext(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, serverName string) *armsql.Server
GetSQLServerContext is a helper function that gets the sql server object. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetSQLServerContextE ¶ added in v1.0.0
func GetSQLServerContextE(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, serverName string) (*armsql.Server, error)
GetSQLServerContextE is a helper function that gets the sql server object. The ctx parameter supports cancellation and timeouts.
func GetSQLServerE
deprecated
added in
v0.30.9
func GetSQLServerWithClient ¶ added in v1.0.0
func GetSQLServerWithClient(ctx context.Context, client *armsql.ServersClient, resGroupName string, serverName string) (*armsql.Server, error)
GetSQLServerWithClient gets the sql server object using the provided ServersClient.
func GetSizeOfVirtualMachine
deprecated
func GetSizeOfVirtualMachine(t testing.TestingT, vmName string, resGroupName string, subscriptionID string) armcompute.VirtualMachineSizeTypes
GetSizeOfVirtualMachine gets the Size Type of the specified Azure Virtual Machine. This function would fail the test if there is an error.
Deprecated: Use GetSizeOfVirtualMachineContext instead.
func GetSizeOfVirtualMachineContext ¶ added in v1.0.0
func GetSizeOfVirtualMachineContext(t testing.TestingT, ctx context.Context, vmName string, resGroupName string, subscriptionID string) armcompute.VirtualMachineSizeTypes
GetSizeOfVirtualMachineContext gets the Size Type of the specified Azure Virtual Machine. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetSizeOfVirtualMachineContextE ¶ added in v1.0.0
func GetSizeOfVirtualMachineContextE(ctx context.Context, vmName string, resGroupName string, subscriptionID string) (armcompute.VirtualMachineSizeTypes, error)
GetSizeOfVirtualMachineContextE gets the Size Type of the specified Azure Virtual Machine. The ctx parameter supports cancellation and timeouts.
func GetSizeOfVirtualMachineE
deprecated
func GetSizeOfVirtualMachineE(vmName string, resGroupName string, subscriptionID string) (armcompute.VirtualMachineSizeTypes, error)
GetSizeOfVirtualMachineE gets the Size Type of the specified Azure Virtual Machine.
Deprecated: Use GetSizeOfVirtualMachineContextE instead.
func GetStorageAccountContextE ¶ added in v1.0.0
func GetStorageAccountContextE(ctx context.Context, storageAccountName, resourceGroupName, subscriptionID string) (*armstorage.Account, error)
GetStorageAccountContextE gets a storage account; otherwise error. See https://docs.microsoft.com/rest/api/storagerp/storageaccounts/getproperties for more information. The ctx parameter supports cancellation and timeouts.
func GetStorageAccountE
deprecated
added in
v0.32.5
func GetStorageAccountE(storageAccountName, resourceGroupName, subscriptionID string) (*armstorage.Account, error)
GetStorageAccountE gets a storage account; otherwise error.
Deprecated: Use GetStorageAccountContextE instead.
func GetStorageAccountKind
deprecated
added in
v0.32.5
func GetStorageAccountKind(t testing.TestingT, storageAccountName string, resourceGroupName string, subscriptionID string) string
GetStorageAccountKind returns one of Storage, StorageV2, BlobStorage, FileStorage, or BlockBlobStorage. This function would fail the test if there is an error.
Deprecated: Use GetStorageAccountKindContext instead.
func GetStorageAccountKindContext ¶ added in v1.0.0
func GetStorageAccountKindContext(t testing.TestingT, ctx context.Context, storageAccountName string, resourceGroupName string, subscriptionID string) string
GetStorageAccountKindContext returns one of Storage, StorageV2, BlobStorage, FileStorage, or BlockBlobStorage. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetStorageAccountKindContextE ¶ added in v1.0.0
func GetStorageAccountKindContextE(ctx context.Context, storageAccountName, resourceGroupName, subscriptionID string) (string, error)
GetStorageAccountKindContextE returns one of Storage, StorageV2, BlobStorage, FileStorage, or BlockBlobStorage. The ctx parameter supports cancellation and timeouts.
func GetStorageAccountKindE
deprecated
added in
v0.32.5
func GetStorageAccountPrimaryBlobEndpointContextE ¶ added in v1.0.0
func GetStorageAccountPrimaryBlobEndpointContextE(ctx context.Context, storageAccountName, resourceGroupName, subscriptionID string) (string, error)
GetStorageAccountPrimaryBlobEndpointContextE gets the storage account blob endpoint as URI string. The ctx parameter supports cancellation and timeouts.
func GetStorageAccountPrimaryBlobEndpointE
deprecated
added in
v0.32.5
func GetStorageAccountPrimaryBlobEndpointE(storageAccountName, resourceGroupName, subscriptionID string) (string, error)
GetStorageAccountPrimaryBlobEndpointE gets the storage account blob endpoint as URI string.
Deprecated: Use GetStorageAccountPrimaryBlobEndpointContextE instead.
func GetStorageAccountPropertyContextE ¶ added in v1.0.0
func GetStorageAccountPropertyContextE(ctx context.Context, storageAccountName, resourceGroupName, subscriptionID string) (*armstorage.Account, error)
GetStorageAccountPropertyContextE returns StorageAccount properties. The ctx parameter supports cancellation and timeouts.
func GetStorageAccountPropertyE
deprecated
added in
v0.32.5
func GetStorageAccountPropertyE(storageAccountName, resourceGroupName, subscriptionID string) (*armstorage.Account, error)
GetStorageAccountPropertyE returns StorageAccount properties.
Deprecated: Use GetStorageAccountPropertyContextE instead.
func GetStorageAccountSkuTier
deprecated
added in
v0.32.5
func GetStorageAccountSkuTier(t testing.TestingT, storageAccountName string, resourceGroupName string, subscriptionID string) string
GetStorageAccountSkuTier returns the storage account sku tier as Standard or Premium. This function would fail the test if there is an error.
Deprecated: Use GetStorageAccountSkuTierContext instead.
func GetStorageAccountSkuTierContext ¶ added in v1.0.0
func GetStorageAccountSkuTierContext(t testing.TestingT, ctx context.Context, storageAccountName string, resourceGroupName string, subscriptionID string) string
GetStorageAccountSkuTierContext returns the storage account sku tier as Standard or Premium. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetStorageAccountSkuTierContextE ¶ added in v1.0.0
func GetStorageAccountSkuTierContextE(ctx context.Context, storageAccountName, resourceGroupName, subscriptionID string) (string, error)
GetStorageAccountSkuTierContextE returns the storage account sku tier as Standard or Premium. The ctx parameter supports cancellation and timeouts.
func GetStorageAccountSkuTierE
deprecated
added in
v0.32.5
func GetStorageBlobContainerContextE ¶ added in v1.0.0
func GetStorageBlobContainerContextE(ctx context.Context, containerName, storageAccountName, resourceGroupName, subscriptionID string) (*armstorage.BlobContainer, error)
GetStorageBlobContainerContextE returns the Blob container client. The ctx parameter supports cancellation and timeouts.
func GetStorageBlobContainerE
deprecated
added in
v0.32.5
func GetStorageBlobContainerE(containerName, storageAccountName, resourceGroupName, subscriptionID string) (*armstorage.BlobContainer, error)
GetStorageBlobContainerE returns the Blob container client.
Deprecated: Use GetStorageBlobContainerContextE instead.
func GetStorageBlobContainerPublicAccess
deprecated
added in
v0.32.5
func GetStorageBlobContainerPublicAccess(t testing.TestingT, containerName string, storageAccountName string, resourceGroupName string, subscriptionID string) bool
GetStorageBlobContainerPublicAccess indicates whether a storage container has public access; otherwise false. This function would fail the test if there is an error.
Deprecated: Use GetStorageBlobContainerPublicAccessContext instead.
func GetStorageBlobContainerPublicAccessContext ¶ added in v1.0.0
func GetStorageBlobContainerPublicAccessContext(t testing.TestingT, ctx context.Context, containerName string, storageAccountName string, resourceGroupName string, subscriptionID string) bool
GetStorageBlobContainerPublicAccessContext indicates whether a storage container has public access; otherwise false. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetStorageBlobContainerPublicAccessContextE ¶ added in v1.0.0
func GetStorageBlobContainerPublicAccessContextE(ctx context.Context, containerName, storageAccountName, resourceGroupName, subscriptionID string) (bool, error)
GetStorageBlobContainerPublicAccessContextE indicates whether a storage container has public access; otherwise false. The ctx parameter supports cancellation and timeouts.
func GetStorageBlobContainerPublicAccessE
deprecated
added in
v0.32.5
func GetStorageBlobContainerPublicAccessE(containerName string, storageAccountName string, resourceGroupName string, subscriptionID string) (bool, error)
GetStorageBlobContainerPublicAccessE indicates whether a storage container has public access; otherwise false.
Deprecated: Use GetStorageBlobContainerPublicAccessContextE instead.
func GetStorageDNSString
deprecated
added in
v0.32.5
func GetStorageDNSString(t testing.TestingT, storageAccountName string, resourceGroupName string, subscriptionID string) string
GetStorageDNSString builds and returns the storage account dns string if the storage account exists. This function would fail the test if there is an error.
Deprecated: Use GetStorageDNSStringContext instead.
func GetStorageDNSStringContext ¶ added in v1.0.0
func GetStorageDNSStringContext(t testing.TestingT, ctx context.Context, storageAccountName string, resourceGroupName string, subscriptionID string) string
GetStorageDNSStringContext builds and returns the storage account dns string if the storage account exists. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetStorageDNSStringContextE ¶ added in v1.0.0
func GetStorageDNSStringContextE(ctx context.Context, storageAccountName, resourceGroupName, subscriptionID string) (string, error)
GetStorageDNSStringContextE builds and returns the storage account dns string if the storage account exists. The ctx parameter supports cancellation and timeouts.
func GetStorageDNSStringE
deprecated
added in
v0.32.5
func GetStorageFileShare
deprecated
added in
v0.38.5
func GetStorageFileShare(t testing.TestingT, fileShareName, storageAccountName, resourceGroupName, subscriptionID string) *armstorage.FileShare
GetStorageFileShare returns the specified file share. This function would fail the test if there is an error.
Deprecated: Use GetStorageFileShareContext instead.
func GetStorageFileShareContext ¶ added in v1.0.0
func GetStorageFileShareContext(t testing.TestingT, ctx context.Context, fileShareName, storageAccountName, resourceGroupName, subscriptionID string) *armstorage.FileShare
GetStorageFileShareContext returns the specified file share. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetStorageFileShareContextE ¶ added in v1.0.0
func GetStorageFileShareContextE(ctx context.Context, fileShareName, storageAccountName, resourceGroupName, subscriptionID string) (*armstorage.FileShare, error)
GetStorageFileShareContextE returns the specified file share. The ctx parameter supports cancellation and timeouts.
func GetStorageFileShareE
deprecated
added in
v0.38.5
func GetStorageFileShareE(fileShareName, storageAccountName, resourceGroupName, subscriptionID string) (*armstorage.FileShare, error)
GetStorageFileShareE returns the specified file share.
Deprecated: Use GetStorageFileShareContextE instead.
func GetStorageURISuffixContextE ¶ added in v1.0.0
GetStorageURISuffixContextE returns the proper storage URI suffix for the configured Azure environment. The ctx parameter supports cancellation and timeouts.
func GetStorageURISuffixE
deprecated
added in
v0.32.5
GetStorageURISuffixE returns the proper storage URI suffix for the configured Azure environment.
Deprecated: Use GetStorageURISuffixContextE instead.
func GetSubnetClientContextE ¶ added in v1.0.0
func GetSubnetClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.SubnetsClient, error)
GetSubnetClientContextE creates a subnet client. The ctx parameter supports cancellation and timeouts.
func GetSubnetClientE
deprecated
added in
v0.30.6
func GetSubnetClientE(subscriptionID string) (*armnetwork.SubnetsClient, error)
GetSubnetClientE creates a subnet client.
Deprecated: Use GetSubnetClientContextE instead.
func GetSubnetContextE ¶ added in v1.0.0
func GetSubnetContextE(ctx context.Context, subnetName string, vnetName string, resGroupName string, subscriptionID string) (*armnetwork.Subnet, error)
GetSubnetContextE gets a subnet. The ctx parameter supports cancellation and timeouts.
func GetSubnetE
deprecated
added in
v0.30.6
func GetSubnetE(subnetName string, vnetName string, resGroupName string, subscriptionID string) (*armnetwork.Subnet, error)
GetSubnetE gets a subnet.
Deprecated: Use GetSubnetContextE instead.
func GetSubnetWithClient ¶ added in v1.0.0
func GetSubnetWithClient(ctx context.Context, client *armnetwork.SubnetsClient, resGroupName string, vnetName string, subnetName string) (*armnetwork.Subnet, error)
GetSubnetWithClient gets a subnet using the provided SubnetsClient.
func GetSubscriptionClientContextE
deprecated
added in
v1.0.0
func GetSubscriptionClientContextE(ctx context.Context) (*armsubscriptions.Client, error)
GetSubscriptionClientContextE is a helper function that will setup an Azure Subscription client on your behalf. The ctx parameter supports cancellation and timeouts.
Deprecated: Use CreateSubscriptionsClientContextE instead.
func GetSubscriptionClientE
deprecated
added in
v0.31.1
func GetSubscriptionClientE() (*armsubscriptions.Client, error)
GetSubscriptionClientE is a helper function that will setup an Azure Subscription client on your behalf.
Deprecated: Use CreateSubscriptionsClientContextE instead.
func GetSynapseSQLPool
deprecated
added in
v1.0.0
func GetSynapseSQLPool(t testing.TestingT, resGroupName string, workspaceName string, sqlPoolName string, subscriptionID string) *armsynapse.SQLPool
GetSynapseSQLPool retrieves the synapse SQL pool for the given subscription. This function would fail the test if there is an error.
Deprecated: Use GetSynapseSQLPoolContext instead.
func GetSynapseSQLPoolContext ¶ added in v1.0.0
func GetSynapseSQLPoolContext(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, workspaceName string, sqlPoolName string) *armsynapse.SQLPool
GetSynapseSQLPoolContext retrieves the synapse SQL pool for the given subscription. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetSynapseSQLPoolContextE ¶ added in v1.0.0
func GetSynapseSQLPoolContextE(ctx context.Context, subscriptionID string, resGroupName string, workspaceName string, sqlPoolName string) (*armsynapse.SQLPool, error)
GetSynapseSQLPoolContextE retrieves the synapse SQL pool for the given subscription. The ctx parameter supports cancellation and timeouts.
func GetSynapseSQLPoolE
deprecated
added in
v1.0.0
func GetSynapseSQLPoolE(subscriptionID string, resGroupName string, workspaceName string, sqlPoolName string) (*armsynapse.SQLPool, error)
GetSynapseSQLPoolE retrieves the synapse SQL pool for the given subscription.
Deprecated: Use GetSynapseSQLPoolContextE instead.
func GetSynapseSQLPoolWithClient ¶ added in v1.0.0
func GetSynapseSQLPoolWithClient(ctx context.Context, client *armsynapse.SQLPoolsClient, resGroupName string, workspaceName string, sqlPoolName string) (*armsynapse.SQLPool, error)
GetSynapseSQLPoolWithClient retrieves the synapse SQL pool using the provided SQLPoolsClient.
func GetSynapseSqlPool ¶ added in v0.43.2
func GetSynapseSqlPool(t testing.TestingT, resGroupName string, workspaceName string, sqlPoolName string, subscriptionID string) *armsynapse.SQLPool
GetSynapseSqlPool retrieves the synapse SQL pool for the given subscription. This function would fail the test if there is an error.
func GetSynapseSqlPoolE ¶ added in v0.43.2
func GetSynapseSqlPoolE(t testing.TestingT, subscriptionID string, resGroupName string, workspaceName string, sqlPoolName string) (*armsynapse.SQLPool, error)
GetSynapseSqlPoolE retrieves the synapse SQL pool for the given subscription.
func GetSynapseWorkspace
deprecated
added in
v0.43.2
func GetSynapseWorkspace(t testing.TestingT, resGroupName string, workspaceName string, subscriptionID string) *armsynapse.Workspace
GetSynapseWorkspace retrieves the synapse workspace for the given subscription. This function would fail the test if there is an error.
Deprecated: Use GetSynapseWorkspaceContext instead.
func GetSynapseWorkspaceContext ¶ added in v1.0.0
func GetSynapseWorkspaceContext(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, workspaceName string) *armsynapse.Workspace
GetSynapseWorkspaceContext retrieves the synapse workspace for the given subscription. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetSynapseWorkspaceContextE ¶ added in v1.0.0
func GetSynapseWorkspaceContextE(ctx context.Context, subscriptionID string, resGroupName string, workspaceName string) (*armsynapse.Workspace, error)
GetSynapseWorkspaceContextE retrieves the synapse workspace for the given subscription. The ctx parameter supports cancellation and timeouts.
func GetSynapseWorkspaceE
deprecated
added in
v0.43.2
func GetSynapseWorkspaceE(t testing.TestingT, subscriptionID string, resGroupName string, workspaceName string) (*armsynapse.Workspace, error)
GetSynapseWorkspaceE retrieves the synapse workspace for the given subscription.
Deprecated: Use GetSynapseWorkspaceContextE instead.
func GetSynapseWorkspaceWithClient ¶ added in v1.0.0
func GetSynapseWorkspaceWithClient(ctx context.Context, client *armsynapse.WorkspacesClient, resGroupName string, workspaceName string) (*armsynapse.Workspace, error)
GetSynapseWorkspaceWithClient retrieves the synapse workspace using the provided WorkspacesClient.
func GetVMInsightsOnboardingStatus
deprecated
added in
v0.30.26
func GetVMInsightsOnboardingStatus(t testing.TestingT, resourceURI string, subscriptionID string) *armmonitor.VMInsightsOnboardingStatus
GetVMInsightsOnboardingStatus gets diagnostics VM onboarding status. This function would fail the test if there is an error.
Deprecated: Use GetVMInsightsOnboardingStatusContext instead.
func GetVMInsightsOnboardingStatusContext ¶ added in v1.0.0
func GetVMInsightsOnboardingStatusContext(t testing.TestingT, ctx context.Context, resourceURI string, subscriptionID string) *armmonitor.VMInsightsOnboardingStatus
GetVMInsightsOnboardingStatusContext gets diagnostics VM onboarding status. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetVMInsightsOnboardingStatusContextE ¶ added in v1.0.0
func GetVMInsightsOnboardingStatusContextE(t testing.TestingT, ctx context.Context, resourceURI string, subscriptionID string) (*armmonitor.VMInsightsOnboardingStatus, error)
GetVMInsightsOnboardingStatusContextE gets diagnostics VM onboarding status. The ctx parameter supports cancellation and timeouts.
func GetVMInsightsOnboardingStatusE
deprecated
added in
v0.30.26
func GetVMInsightsOnboardingStatusE(t testing.TestingT, resourceURI string, subscriptionID string) (*armmonitor.VMInsightsOnboardingStatus, error)
GetVMInsightsOnboardingStatusE gets diagnostics VM onboarding status.
Deprecated: Use GetVMInsightsOnboardingStatusContextE instead.
func GetVMInsightsOnboardingStatusWithClient ¶ added in v1.0.0
func GetVMInsightsOnboardingStatusWithClient(ctx context.Context, client *armmonitor.VMInsightsClient, resourceURI string) (*armmonitor.VMInsightsOnboardingStatus, error)
GetVMInsightsOnboardingStatusWithClient gets diagnostics VM onboarding status using the provided client.
func GetVirtualMachine
deprecated
added in
v0.30.12
func GetVirtualMachine(t testing.TestingT, vmName string, resGroupName string, subscriptionID string) *armcompute.VirtualMachine
GetVirtualMachine gets a Virtual Machine in the specified Azure Resource Group. This function would fail the test if there is an error.
Deprecated: Use GetVirtualMachineContext instead.
func GetVirtualMachineAvailabilitySetID
deprecated
added in
v0.30.12
func GetVirtualMachineAvailabilitySetID(t testing.TestingT, vmName string, resGroupName string, subscriptionID string) string
GetVirtualMachineAvailabilitySetID gets the Availability Set ID of the specified Azure Virtual Machine. This function would fail the test if there is an error.
Deprecated: Use GetVirtualMachineAvailabilitySetIDContext instead.
func GetVirtualMachineAvailabilitySetIDContext ¶ added in v1.0.0
func GetVirtualMachineAvailabilitySetIDContext(t testing.TestingT, ctx context.Context, vmName string, resGroupName string, subscriptionID string) string
GetVirtualMachineAvailabilitySetIDContext gets the Availability Set ID of the specified Azure Virtual Machine. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetVirtualMachineAvailabilitySetIDContextE ¶ added in v1.0.0
func GetVirtualMachineAvailabilitySetIDContextE(ctx context.Context, vmName string, resGroupName string, subscriptionID string) (string, error)
GetVirtualMachineAvailabilitySetIDContextE gets the Availability Set ID of the specified Azure Virtual Machine. The ctx parameter supports cancellation and timeouts.
func GetVirtualMachineAvailabilitySetIDE
deprecated
added in
v0.30.12
func GetVirtualMachineClient
deprecated
func GetVirtualMachineClient(t testing.TestingT, subscriptionID string) *armcompute.VirtualMachinesClient
GetVirtualMachineClient is a helper function that will setup an Azure Virtual Machine client on your behalf. This function would fail the test if there is an error.
Deprecated: Use GetVirtualMachineClientContext instead.
func GetVirtualMachineClientContext ¶ added in v1.0.0
func GetVirtualMachineClientContext(t testing.TestingT, ctx context.Context, subscriptionID string) *armcompute.VirtualMachinesClient
GetVirtualMachineClientContext is a helper function that will setup an Azure Virtual Machine client on your behalf. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetVirtualMachineClientContextE ¶ added in v1.0.0
func GetVirtualMachineClientContextE(ctx context.Context, subscriptionID string) (*armcompute.VirtualMachinesClient, error)
GetVirtualMachineClientContextE is a helper function that will setup an Azure Virtual Machine client on your behalf. The ctx parameter supports cancellation and timeouts.
func GetVirtualMachineClientE
deprecated
added in
v0.30.3
func GetVirtualMachineClientE(subscriptionID string) (*armcompute.VirtualMachinesClient, error)
GetVirtualMachineClientE is a helper function that will setup an Azure Virtual Machine client on your behalf.
Deprecated: Use GetVirtualMachineClientContextE instead.
func GetVirtualMachineContext ¶ added in v1.0.0
func GetVirtualMachineContext(t testing.TestingT, ctx context.Context, vmName string, resGroupName string, subscriptionID string) *armcompute.VirtualMachine
GetVirtualMachineContext gets a Virtual Machine in the specified Azure Resource Group. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetVirtualMachineContextE ¶ added in v1.0.0
func GetVirtualMachineContextE(ctx context.Context, vmName string, resGroupName string, subscriptionID string) (*armcompute.VirtualMachine, error)
GetVirtualMachineContextE gets a Virtual Machine in the specified Azure Resource Group. The ctx parameter supports cancellation and timeouts.
func GetVirtualMachineE
deprecated
added in
v0.30.12
func GetVirtualMachineE(vmName string, resGroupName string, subscriptionID string) (*armcompute.VirtualMachine, error)
GetVirtualMachineE gets a Virtual Machine in the specified Azure Resource Group.
Deprecated: Use GetVirtualMachineContextE instead.
func GetVirtualMachineManagedDisks
deprecated
added in
v0.30.12
func GetVirtualMachineManagedDisks(t testing.TestingT, vmName string, resGroupName string, subscriptionID string) []string
GetVirtualMachineManagedDisks gets the list of Managed Disk names of the specified Azure Virtual Machine. This function would fail the test if there is an error.
Deprecated: Use GetVirtualMachineManagedDisksContext instead.
func GetVirtualMachineManagedDisksContext ¶ added in v1.0.0
func GetVirtualMachineManagedDisksContext(t testing.TestingT, ctx context.Context, vmName string, resGroupName string, subscriptionID string) []string
GetVirtualMachineManagedDisksContext gets the list of Managed Disk names of the specified Azure Virtual Machine. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetVirtualMachineManagedDisksContextE ¶ added in v1.0.0
func GetVirtualMachineManagedDisksContextE(ctx context.Context, vmName string, resGroupName string, subscriptionID string) ([]string, error)
GetVirtualMachineManagedDisksContextE gets the list of Managed Disk names of the specified Azure Virtual Machine. The ctx parameter supports cancellation and timeouts.
func GetVirtualMachineManagedDisksE
deprecated
added in
v0.30.12
func GetVirtualMachineNics
deprecated
added in
v0.30.12
func GetVirtualMachineNics(t testing.TestingT, vmName string, resGroupName string, subscriptionID string) []string
GetVirtualMachineNics gets a list of Network Interface names for a specified Azure Virtual Machine. This function would fail the test if there is an error.
Deprecated: Use GetVirtualMachineNicsContext instead.
func GetVirtualMachineNicsContext ¶ added in v1.0.0
func GetVirtualMachineNicsContext(t testing.TestingT, ctx context.Context, vmName string, resGroupName string, subscriptionID string) []string
GetVirtualMachineNicsContext gets a list of Network Interface names for a specified Azure Virtual Machine. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetVirtualMachineNicsContextE ¶ added in v1.0.0
func GetVirtualMachineNicsContextE(ctx context.Context, vmName string, resGroupName string, subscriptionID string) ([]string, error)
GetVirtualMachineNicsContextE gets a list of Network Interface names for a specified Azure Virtual Machine. The ctx parameter supports cancellation and timeouts.
func GetVirtualMachineNicsE
deprecated
added in
v0.30.12
func GetVirtualMachineOSDiskName
deprecated
added in
v0.30.12
func GetVirtualMachineOSDiskName(t testing.TestingT, vmName string, resGroupName string, subscriptionID string) string
GetVirtualMachineOSDiskName gets the OS Disk name of the specified Azure Virtual Machine. This function would fail the test if there is an error.
Deprecated: Use GetVirtualMachineOSDiskNameContext instead.
func GetVirtualMachineOSDiskNameContext ¶ added in v1.0.0
func GetVirtualMachineOSDiskNameContext(t testing.TestingT, ctx context.Context, vmName string, resGroupName string, subscriptionID string) string
GetVirtualMachineOSDiskNameContext gets the OS Disk name of the specified Azure Virtual Machine. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetVirtualMachineOSDiskNameContextE ¶ added in v1.0.0
func GetVirtualMachineOSDiskNameContextE(ctx context.Context, vmName string, resGroupName string, subscriptionID string) (string, error)
GetVirtualMachineOSDiskNameContextE gets the OS Disk name of the specified Azure Virtual Machine. The ctx parameter supports cancellation and timeouts.
func GetVirtualMachineOSDiskNameE
deprecated
added in
v0.30.12
func GetVirtualMachineTags
deprecated
added in
v0.30.12
func GetVirtualMachineTags(t testing.TestingT, vmName string, resGroupName string, subscriptionID string) map[string]string
GetVirtualMachineTags gets the Tags of the specified Virtual Machine as a map. This function would fail the test if there is an error.
Deprecated: Use GetVirtualMachineTagsContext instead.
func GetVirtualMachineTagsContext ¶ added in v1.0.0
func GetVirtualMachineTagsContext(t testing.TestingT, ctx context.Context, vmName string, resGroupName string, subscriptionID string) map[string]string
GetVirtualMachineTagsContext gets the Tags of the specified Virtual Machine as a map. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetVirtualMachineTagsContextE ¶ added in v1.0.0
func GetVirtualMachineTagsContextE(ctx context.Context, vmName string, resGroupName string, subscriptionID string) (map[string]string, error)
GetVirtualMachineTagsContextE gets the Tags of the specified Virtual Machine as a map. The ctx parameter supports cancellation and timeouts.
func GetVirtualMachineTagsE
deprecated
added in
v0.30.12
func GetVirtualMachineWithClient ¶ added in v1.0.0
func GetVirtualMachineWithClient(ctx context.Context, client *armcompute.VirtualMachinesClient, resGroupName string, vmName string) (*armcompute.VirtualMachine, error)
GetVirtualMachineWithClient gets a Virtual Machine using the provided client. This variant is useful for testing with fake clients.
func GetVirtualMachinesForResourceGroup
deprecated
added in
v0.30.12
func GetVirtualMachinesForResourceGroup(t testing.TestingT, resGroupName string, subscriptionID string) map[string]armcompute.VirtualMachineProperties
GetVirtualMachinesForResourceGroup gets all Virtual Machine objects in the specified Resource Group. Each VM Object represents the entire set of VM compute properties accessible by using the VM name as the map key. This function would fail the test if there is an error.
Deprecated: Use GetVirtualMachinesForResourceGroupContext instead.
func GetVirtualMachinesForResourceGroupContext ¶ added in v1.0.0
func GetVirtualMachinesForResourceGroupContext(t testing.TestingT, ctx context.Context, resGroupName string, subscriptionID string) map[string]armcompute.VirtualMachineProperties
GetVirtualMachinesForResourceGroupContext gets all Virtual Machine objects in the specified Resource Group. Each VM Object represents the entire set of VM compute properties accessible by using the VM name as the map key. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetVirtualMachinesForResourceGroupContextE ¶ added in v1.0.0
func GetVirtualMachinesForResourceGroupContextE(ctx context.Context, resourceGroupName string, subscriptionID string) (map[string]armcompute.VirtualMachineProperties, error)
GetVirtualMachinesForResourceGroupContextE gets all Virtual Machine objects in the specified Resource Group. Each VM Object represents the entire set of VM compute properties accessible by using the VM name as the map key. The ctx parameter supports cancellation and timeouts.
func GetVirtualMachinesForResourceGroupE
deprecated
added in
v0.30.12
func GetVirtualMachinesForResourceGroupE(resGroupName string, subscriptionID string) (map[string]armcompute.VirtualMachineProperties, error)
GetVirtualMachinesForResourceGroupE gets all Virtual Machine objects in the specified Resource Group. Each VM Object represents the entire set of VM compute properties accessible by using the VM name as the map key.
Deprecated: Use GetVirtualMachinesForResourceGroupContextE instead.
func GetVirtualMachinesForResourceGroupWithClient ¶ added in v1.0.0
func GetVirtualMachinesForResourceGroupWithClient(ctx context.Context, client *armcompute.VirtualMachinesClient, resourceGroupName string) (map[string]armcompute.VirtualMachineProperties, error)
GetVirtualMachinesForResourceGroupWithClient gets all Virtual Machine objects in the specified Resource Group using the provided client. Each VM Object represents the entire set of VM compute properties accessible by using the VM name as the map key. This variant is useful for testing with fake clients.
func GetVirtualNetworkContextE ¶ added in v1.0.0
func GetVirtualNetworkContextE(ctx context.Context, vnetName string, resGroupName string, subscriptionID string) (*armnetwork.VirtualNetwork, error)
GetVirtualNetworkContextE gets Virtual Network in the specified Azure Resource Group. The ctx parameter supports cancellation and timeouts.
func GetVirtualNetworkDNSServerIPs
deprecated
added in
v0.30.6
func GetVirtualNetworkDNSServerIPs(t testing.TestingT, vnetName string, resGroupName string, subscriptionID string) []string
GetVirtualNetworkDNSServerIPs gets a list of all Virtual Network DNS server IPs. This function would fail the test if there is an error.
Deprecated: Use GetVirtualNetworkDNSServerIPsContext instead.
func GetVirtualNetworkDNSServerIPsContext ¶ added in v1.0.0
func GetVirtualNetworkDNSServerIPsContext(t testing.TestingT, ctx context.Context, vnetName string, resGroupName string, subscriptionID string) []string
GetVirtualNetworkDNSServerIPsContext gets a list of all Virtual Network DNS server IPs. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetVirtualNetworkDNSServerIPsContextE ¶ added in v1.0.0
func GetVirtualNetworkDNSServerIPsContextE(ctx context.Context, vnetName string, resGroupName string, subscriptionID string) ([]string, error)
GetVirtualNetworkDNSServerIPsContextE gets a list of all Virtual Network DNS server IPs. The ctx parameter supports cancellation and timeouts.
func GetVirtualNetworkDNSServerIPsE
deprecated
added in
v0.30.6
func GetVirtualNetworkE
deprecated
added in
v0.30.6
func GetVirtualNetworkE(vnetName string, resGroupName string, subscriptionID string) (*armnetwork.VirtualNetwork, error)
GetVirtualNetworkE gets Virtual Network in the specified Azure Resource Group.
Deprecated: Use GetVirtualNetworkContextE instead.
func GetVirtualNetworkSubnets
deprecated
added in
v0.30.6
func GetVirtualNetworkSubnets(t testing.TestingT, vnetName string, resGroupName string, subscriptionID string) map[string]string
GetVirtualNetworkSubnets gets all Subnet names and their respective address prefixes in the specified Virtual Network. This function would fail the test if there is an error.
Deprecated: Use GetVirtualNetworkSubnetsContext instead.
func GetVirtualNetworkSubnetsContext ¶ added in v1.0.0
func GetVirtualNetworkSubnetsContext(t testing.TestingT, ctx context.Context, vnetName string, resGroupName string, subscriptionID string) map[string]string
GetVirtualNetworkSubnetsContext gets all Subnet names and their respective address prefixes in the specified Virtual Network. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetVirtualNetworkSubnetsContextE ¶ added in v1.0.0
func GetVirtualNetworkSubnetsContextE(ctx context.Context, vnetName string, resGroupName string, subscriptionID string) (map[string]string, error)
GetVirtualNetworkSubnetsContextE gets all Subnet names and their respective address prefixes in the specified Virtual Network. Returning both the name and prefix together helps reduce calls for these frequently accessed properties. The ctx parameter supports cancellation and timeouts.
func GetVirtualNetworkSubnetsE
deprecated
added in
v0.30.6
func GetVirtualNetworkSubnetsWithClient ¶ added in v1.0.0
func GetVirtualNetworkSubnetsWithClient(ctx context.Context, client *armnetwork.SubnetsClient, resGroupName string, vnetName string) (map[string]string, error)
GetVirtualNetworkSubnetsWithClient gets all Subnet names and their respective address prefixes using the provided SubnetsClient.
func GetVirtualNetworkWithClient ¶ added in v1.0.0
func GetVirtualNetworkWithClient(ctx context.Context, client *armnetwork.VirtualNetworksClient, resGroupName string, vnetName string) (*armnetwork.VirtualNetwork, error)
GetVirtualNetworkWithClient gets a Virtual Network using the provided VirtualNetworksClient.
func GetVirtualNetworksClientContextE ¶ added in v1.0.0
func GetVirtualNetworksClientContextE(ctx context.Context, subscriptionID string) (*armnetwork.VirtualNetworksClient, error)
GetVirtualNetworksClientContextE creates a virtual network client in the specified Azure Subscription. The ctx parameter supports cancellation and timeouts.
func GetVirtualNetworksClientE
deprecated
added in
v0.30.6
func GetVirtualNetworksClientE(subscriptionID string) (*armnetwork.VirtualNetworksClient, error)
GetVirtualNetworksClientE creates a virtual network client in the specified Azure Subscription.
Deprecated: Use GetVirtualNetworksClientContextE instead.
func KeyVaultCertificateExists
deprecated
added in
v0.31.5
func KeyVaultCertificateExists(t testing.TestingT, keyVaultName string, certificateName string) bool
KeyVaultCertificateExists indicates whether a key vault certificate exists; otherwise false. This function would fail the test if there is an error.
Deprecated: Use KeyVaultCertificateExistsContext instead.
func KeyVaultCertificateExistsContext ¶ added in v1.0.0
func KeyVaultCertificateExistsContext(t testing.TestingT, ctx context.Context, keyVaultName string, certificateName string) bool
KeyVaultCertificateExistsContext indicates whether a key vault certificate exists; otherwise false. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func KeyVaultCertificateExistsContextE ¶ added in v1.0.0
func KeyVaultCertificateExistsContextE(ctx context.Context, keyVaultName, certificateName string) (bool, error)
KeyVaultCertificateExistsContextE indicates whether a certificate exists in key vault; otherwise false. The ctx parameter supports cancellation and timeouts.
func KeyVaultCertificateExistsE
deprecated
added in
v0.31.5
KeyVaultCertificateExistsE indicates whether a certificate exists in key vault; otherwise false.
Deprecated: Use KeyVaultCertificateExistsContextE instead.
func KeyVaultKeyExists
deprecated
added in
v0.31.5
func KeyVaultKeyExistsContext ¶ added in v1.0.0
func KeyVaultKeyExistsContext(t testing.TestingT, ctx context.Context, keyVaultName string, keyName string) bool
KeyVaultKeyExistsContext indicates whether a key vault key exists; otherwise false. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func KeyVaultKeyExistsContextE ¶ added in v1.0.0
KeyVaultKeyExistsContextE indicates whether a key exists in the key vault; otherwise false. The ctx parameter supports cancellation and timeouts.
func KeyVaultKeyExistsE
deprecated
added in
v0.31.5
KeyVaultKeyExistsE indicates whether a key exists in the key vault; otherwise false.
Deprecated: Use KeyVaultKeyExistsContextE instead.
func KeyVaultSecretExists
deprecated
added in
v0.31.5
func KeyVaultSecretExistsContext ¶ added in v1.0.0
func KeyVaultSecretExistsContext(t testing.TestingT, ctx context.Context, keyVaultName string, secretName string) bool
KeyVaultSecretExistsContext indicates whether a key vault secret exists; otherwise false. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func KeyVaultSecretExistsContextE ¶ added in v1.0.0
func KeyVaultSecretExistsContextE(ctx context.Context, keyVaultName, secretName string) (bool, error)
KeyVaultSecretExistsContextE indicates whether a secret exists in the key vault; otherwise false. The ctx parameter supports cancellation and timeouts.
func KeyVaultSecretExistsE
deprecated
added in
v0.31.5
KeyVaultSecretExistsE indicates whether a secret exists in the key vault; otherwise false.
Deprecated: Use KeyVaultSecretExistsContextE instead.
func ListMySQLDB
deprecated
added in
v0.30.20
func ListMySQLDBContext ¶ added in v1.0.0
func ListMySQLDBContext(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, serverName string) []*armmysql.Database
ListMySQLDBContext is a helper function that gets all databases per server. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ListMySQLDBContextE ¶ added in v1.0.0
func ListMySQLDBContextE(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, serverName string) ([]*armmysql.Database, error)
ListMySQLDBContextE is a helper function that gets all databases per server. The ctx parameter supports cancellation and timeouts.
func ListMySQLDBE
deprecated
added in
v0.30.20
func ListMySQLDBWithClient ¶ added in v1.0.0
func ListMySQLDBWithClient(ctx context.Context, client *armmysql.DatabasesClient, resGroupName string, serverName string) ([]*armmysql.Database, error)
ListMySQLDBWithClient lists all databases per server using the provided DatabasesClient.
func ListNamespaceAuthRulesContext ¶ added in v1.0.0
func ListNamespaceAuthRulesContext(t testing.TestingT, ctx context.Context, subscriptionID string, namespace string, resourceGroup string) []string
ListNamespaceAuthRulesContext authenticates the namespace client and enumerates all values to get a list of authorization rules for the given namespace name, automatically crossing page boundaries as required. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ListNamespaceAuthRulesContextE ¶ added in v1.0.0
func ListNamespaceAuthRulesContextE(ctx context.Context, subscriptionID string, namespace string, resourceGroup string) ([]string, error)
ListNamespaceAuthRulesContextE authenticates the namespace client and enumerates all values to get a list of authorization rules for the given namespace name, automatically crossing page boundaries as required. The ctx parameter supports cancellation and timeouts.
func ListNamespaceTopicsContext ¶ added in v1.0.0
func ListNamespaceTopicsContext(t testing.TestingT, ctx context.Context, subscriptionID string, namespace string, resourceGroup string) []*armservicebus.SBTopic
ListNamespaceTopicsContext authenticates the topic client and enumerates all values, automatically crossing page boundaries as required. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ListNamespaceTopicsContextE ¶ added in v1.0.0
func ListNamespaceTopicsContextE(ctx context.Context, subscriptionID string, namespace string, resourceGroup string) ([]*armservicebus.SBTopic, error)
ListNamespaceTopicsContextE authenticates the topic client and enumerates all values, automatically crossing page boundaries as required. The ctx parameter supports cancellation and timeouts.
func ListPostgreSQLDB
deprecated
added in
v0.32.22
func ListPostgreSQLDB(t testing.TestingT, subscriptionID string, resGroupName string, serverName string) []*armpostgresql.Database
ListPostgreSQLDB is a helper function that gets all databases per server. This function would fail the test if there is an error.
Deprecated: Use ListPostgreSQLDBContext instead.
func ListPostgreSQLDBContext ¶ added in v1.0.0
func ListPostgreSQLDBContext(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, serverName string) []*armpostgresql.Database
ListPostgreSQLDBContext is a helper function that gets all databases per server. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ListPostgreSQLDBContextE ¶ added in v1.0.0
func ListPostgreSQLDBContextE(t testing.TestingT, ctx context.Context, subscriptionID string, resGroupName string, serverName string) ([]*armpostgresql.Database, error)
ListPostgreSQLDBContextE is a helper function that gets all databases per server. The ctx parameter supports cancellation and timeouts.
func ListPostgreSQLDBE
deprecated
added in
v0.32.22
func ListPostgreSQLDBE(t testing.TestingT, subscriptionID string, resGroupName string, serverName string) ([]*armpostgresql.Database, error)
ListPostgreSQLDBE is a helper function that gets all databases per server.
Deprecated: Use ListPostgreSQLDBContextE instead.
func ListPostgreSQLDBWithClient ¶ added in v1.0.0
func ListPostgreSQLDBWithClient(ctx context.Context, client *armpostgresql.DatabasesClient, resGroupName string, serverName string) ([]*armpostgresql.Database, error)
ListPostgreSQLDBWithClient lists all databases per server using the provided DatabasesClient.
func ListResourceGroupsByTag
deprecated
added in
v0.35.4
func ListResourceGroupsByTag(t testing.TestingT, tag, subscriptionID string) []*armresources.ResourceGroup
ListResourceGroupsByTag returns a resource group list within a subscription based on a tag key. This function would fail the test if there is an error.
Deprecated: Use ListResourceGroupsByTagContext instead.
func ListResourceGroupsByTagContext ¶ added in v1.0.0
func ListResourceGroupsByTagContext(t testing.TestingT, ctx context.Context, tag, subscriptionID string) []*armresources.ResourceGroup
ListResourceGroupsByTagContext returns a resource group list within a subscription based on a tag key. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ListResourceGroupsByTagContextE ¶ added in v1.0.0
func ListResourceGroupsByTagContextE(ctx context.Context, tag string, subscriptionID string) ([]*armresources.ResourceGroup, error)
ListResourceGroupsByTagContextE returns a resource group list within a subscription based on a tag key. The ctx parameter supports cancellation and timeouts.
func ListResourceGroupsByTagE
deprecated
added in
v0.35.4
func ListResourceGroupsByTagE(tag string, subscriptionID string) ([]*armresources.ResourceGroup, error)
ListResourceGroupsByTagE returns a resource group list within a subscription based on a tag key.
Deprecated: Use ListResourceGroupsByTagContextE instead.
func ListResourceGroupsByTagWithClient ¶ added in v1.0.0
func ListResourceGroupsByTagWithClient(ctx context.Context, client *armresources.ResourceGroupsClient, tag string) ([]*armresources.ResourceGroup, error)
ListResourceGroupsByTagWithClient returns resource groups matching a tag key using the provided client.
func ListSQLServerDatabases
deprecated
added in
v0.30.9
func ListSQLServerDatabases(t testing.TestingT, resGroupName string, serverName string, subscriptionID string) []*armsql.Database
ListSQLServerDatabases is a helper function that gets a list of databases on a sql server. This function would fail the test if there is an error.
Deprecated: Use ListSQLServerDatabasesContext instead.
func ListSQLServerDatabasesContext ¶ added in v1.0.0
func ListSQLServerDatabasesContext(t testing.TestingT, ctx context.Context, resGroupName string, serverName string, subscriptionID string) []*armsql.Database
ListSQLServerDatabasesContext is a helper function that gets a list of databases on a sql server. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ListSQLServerDatabasesContextE ¶ added in v1.0.0
func ListSQLServerDatabasesContextE(t testing.TestingT, ctx context.Context, resGroupName string, serverName string, subscriptionID string) ([]*armsql.Database, error)
ListSQLServerDatabasesContextE is a helper function that gets a list of databases on a sql server. The ctx parameter supports cancellation and timeouts.
func ListSQLServerDatabasesE
deprecated
added in
v0.30.9
func ListSQLServerDatabasesWithClient ¶ added in v1.0.0
func ListSQLServerDatabasesWithClient(ctx context.Context, client *armsql.DatabasesClient, resGroupName string, serverName string) ([]*armsql.Database, error)
ListSQLServerDatabasesWithClient lists databases on a sql server using the provided DatabasesClient.
func ListServiceBusNamespaceByResourceGroupContext ¶ added in v1.0.0
func ListServiceBusNamespaceByResourceGroupContext(t testing.TestingT, ctx context.Context, subscriptionID string, resourceGroup string) []*armservicebus.SBNamespace
ListServiceBusNamespaceByResourceGroupContext lists all SB namespaces in the given resource group. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ListServiceBusNamespaceByResourceGroupContextE ¶ added in v1.0.0
func ListServiceBusNamespaceByResourceGroupContextE(ctx context.Context, subscriptionID string, resourceGroup string) ([]*armservicebus.SBNamespace, error)
ListServiceBusNamespaceByResourceGroupContextE lists all SB namespaces in the given resource group. The ctx parameter supports cancellation and timeouts.
func ListServiceBusNamespaceContext ¶ added in v1.0.0
func ListServiceBusNamespaceContext(t testing.TestingT, ctx context.Context, subscriptionID string) []*armservicebus.SBNamespace
ListServiceBusNamespaceContext lists all SB namespaces in all resource groups in the given subscription ID. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ListServiceBusNamespaceContextE ¶ added in v1.0.0
func ListServiceBusNamespaceContextE(ctx context.Context, subscriptionID string) ([]*armservicebus.SBNamespace, error)
ListServiceBusNamespaceContextE lists all SB namespaces in all resource groups in the given subscription ID. The ctx parameter supports cancellation and timeouts.
func ListServiceBusNamespaceIDsByResourceGroupContext ¶ added in v1.0.0
func ListServiceBusNamespaceIDsByResourceGroupContext(t testing.TestingT, ctx context.Context, subscriptionID string, resourceGroup string) []string
ListServiceBusNamespaceIDsByResourceGroupContext lists IDs of all SB namespaces in the given resource group. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ListServiceBusNamespaceIDsByResourceGroupContextE ¶ added in v1.0.0
func ListServiceBusNamespaceIDsByResourceGroupContextE(ctx context.Context, subscriptionID string, resourceGroup string) ([]string, error)
ListServiceBusNamespaceIDsByResourceGroupContextE lists IDs of all SB namespaces in the given resource group. The ctx parameter supports cancellation and timeouts.
func ListServiceBusNamespaceIDsContext ¶ added in v1.0.0
func ListServiceBusNamespaceIDsContext(t testing.TestingT, ctx context.Context, subscriptionID string) []string
ListServiceBusNamespaceIDsContext lists IDs of all SB namespaces in all resource groups in the given subscription ID. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ListServiceBusNamespaceIDsContextE ¶ added in v1.0.0
func ListServiceBusNamespaceIDsContextE(ctx context.Context, subscriptionID string) ([]string, error)
ListServiceBusNamespaceIDsContextE lists IDs of all SB namespaces in all resource groups in the given subscription ID. The ctx parameter supports cancellation and timeouts.
func ListServiceBusNamespaceNamesByResourceGroupContext ¶ added in v1.0.0
func ListServiceBusNamespaceNamesByResourceGroupContext(t testing.TestingT, ctx context.Context, subscriptionID string, resourceGroup string) []string
ListServiceBusNamespaceNamesByResourceGroupContext lists names of all SB namespaces in the given resource group. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ListServiceBusNamespaceNamesByResourceGroupContextE ¶ added in v1.0.0
func ListServiceBusNamespaceNamesByResourceGroupContextE(ctx context.Context, subscriptionID string, resourceGroup string) ([]string, error)
ListServiceBusNamespaceNamesByResourceGroupContextE lists names of all SB namespaces in the given resource group. The ctx parameter supports cancellation and timeouts.
func ListServiceBusNamespaceNamesContext ¶ added in v1.0.0
func ListServiceBusNamespaceNamesContext(t testing.TestingT, ctx context.Context, subscriptionID string) []string
ListServiceBusNamespaceNamesContext lists names of all SB namespaces in all resource groups in the given subscription ID. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ListServiceBusNamespaceNamesContextE ¶ added in v1.0.0
func ListServiceBusNamespaceNamesContextE(ctx context.Context, subscriptionID string) ([]string, error)
ListServiceBusNamespaceNamesContextE lists names of all SB namespaces in all resource groups in the given subscription ID. The ctx parameter supports cancellation and timeouts.
func ListServiceBusNamespaceWithClient ¶ added in v1.0.0
func ListServiceBusNamespaceWithClient(ctx context.Context, client *armservicebus.NamespacesClient) ([]*armservicebus.SBNamespace, error)
ListServiceBusNamespaceWithClient lists all SB namespaces using the provided NamespacesClient.
func ListTopicAuthRulesContext ¶ added in v1.0.0
func ListTopicAuthRulesContext(t testing.TestingT, ctx context.Context, subscriptionID string, namespace string, resourceGroup string, topicName string) []string
ListTopicAuthRulesContext authenticates the topic client and enumerates all values to get a list of authorization rules for the given topic name, automatically crossing page boundaries as required. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ListTopicAuthRulesContextE ¶ added in v1.0.0
func ListTopicAuthRulesContextE(ctx context.Context, subscriptionID string, namespace string, resourceGroup string, topicName string) ([]string, error)
ListTopicAuthRulesContextE authenticates the topic client and enumerates all values to get a list of authorization rules for the given topic name, automatically crossing page boundaries as required. The ctx parameter supports cancellation and timeouts.
func ListTopicSubscriptionsContext ¶ added in v1.0.0
func ListTopicSubscriptionsContext(t testing.TestingT, ctx context.Context, subscriptionID string, namespace string, resourceGroup string, topicName string) []*armservicebus.SBSubscription
ListTopicSubscriptionsContext authenticates the subscriptions client and enumerates all values, automatically crossing page boundaries as required. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ListTopicSubscriptionsContextE ¶ added in v1.0.0
func ListTopicSubscriptionsContextE(ctx context.Context, subscriptionID string, namespace string, resourceGroup string, topicName string) ([]*armservicebus.SBSubscription, error)
ListTopicSubscriptionsContextE authenticates the subscriptions client and enumerates all values, automatically crossing page boundaries as required. The ctx parameter supports cancellation and timeouts.
func ListTopicSubscriptionsNameContext ¶ added in v1.0.0
func ListTopicSubscriptionsNameContext(t testing.TestingT, ctx context.Context, subscriptionID string, namespace string, resourceGroup string, topicName string) []string
ListTopicSubscriptionsNameContext authenticates the subscriptions client and enumerates all values to get a list of subscriptions for the given topic name, automatically crossing page boundaries as required. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ListTopicSubscriptionsNameContextE ¶ added in v1.0.0
func ListTopicSubscriptionsNameContextE(ctx context.Context, subscriptionID string, namespace string, resourceGroup string, topicName string) ([]string, error)
ListTopicSubscriptionsNameContextE authenticates the subscriptions client and enumerates all values to get a list of subscriptions for the given topic name, automatically crossing page boundaries as required. The ctx parameter supports cancellation and timeouts.
func ListVirtualMachinesForResourceGroup
deprecated
added in
v0.30.12
func ListVirtualMachinesForResourceGroup(t testing.TestingT, resGroupName string, subscriptionID string) []string
ListVirtualMachinesForResourceGroup gets a list of all Virtual Machine names in the specified Resource Group. This function would fail the test if there is an error.
Deprecated: Use ListVirtualMachinesForResourceGroupContext instead.
func ListVirtualMachinesForResourceGroupContext ¶ added in v1.0.0
func ListVirtualMachinesForResourceGroupContext(t testing.TestingT, ctx context.Context, resGroupName string, subscriptionID string) []string
ListVirtualMachinesForResourceGroupContext gets a list of all Virtual Machine names in the specified Resource Group. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ListVirtualMachinesForResourceGroupContextE ¶ added in v1.0.0
func ListVirtualMachinesForResourceGroupContextE(ctx context.Context, resourceGroupName string, subscriptionID string) ([]string, error)
ListVirtualMachinesForResourceGroupContextE gets a list of all Virtual Machine names in the specified Resource Group. The ctx parameter supports cancellation and timeouts.
func ListVirtualMachinesForResourceGroupE
deprecated
added in
v0.30.12
func ListVirtualMachinesForResourceGroupE(resGroupName string, subscriptionID string) ([]string, error)
ListVirtualMachinesForResourceGroupE gets a list of all Virtual Machine names in the specified Resource Group.
Deprecated: Use ListVirtualMachinesForResourceGroupContextE instead.
func ListVirtualMachinesForResourceGroupWithClient ¶ added in v1.0.0
func ListVirtualMachinesForResourceGroupWithClient(ctx context.Context, client *armcompute.VirtualMachinesClient, resourceGroupName string) ([]string, error)
ListVirtualMachinesForResourceGroupWithClient gets a list of all Virtual Machine names in the specified Resource Group using the provided client. This variant is useful for testing with fake clients.
func LoadBalancerExists
deprecated
added in
v0.30.13
func LoadBalancerExists(t testing.TestingT, loadBalancerName string, resourceGroupName string, subscriptionID string) bool
LoadBalancerExists indicates whether the specified Load Balancer exists. This function would fail the test if there is an error.
Deprecated: Use LoadBalancerExistsContext instead.
func LoadBalancerExistsContext ¶ added in v1.0.0
func LoadBalancerExistsContext(t testing.TestingT, ctx context.Context, loadBalancerName string, resourceGroupName string, subscriptionID string) bool
LoadBalancerExistsContext indicates whether the specified Load Balancer exists. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func LoadBalancerExistsContextE ¶ added in v1.0.0
func LoadBalancerExistsContextE(ctx context.Context, loadBalancerName string, resourceGroupName string, subscriptionID string) (bool, error)
LoadBalancerExistsContextE indicates whether the specified Load Balancer exists. The ctx parameter supports cancellation and timeouts.
func LoadBalancerExistsE
deprecated
added in
v0.30.13
func LogAnalyticsWorkspaceExists
deprecated
added in
v0.32.7
func LogAnalyticsWorkspaceExists(t testing.TestingT, workspaceName string, resourceGroupName string, subscriptionID string) bool
LogAnalyticsWorkspaceExists indicates whether the operational insights workspace exists. This function would fail the test if there is an error.
Deprecated: Use LogAnalyticsWorkspaceExistsContext instead.
func LogAnalyticsWorkspaceExistsContext ¶ added in v1.0.0
func LogAnalyticsWorkspaceExistsContext(t testing.TestingT, ctx context.Context, workspaceName string, resourceGroupName string, subscriptionID string) bool
LogAnalyticsWorkspaceExistsContext indicates whether the operational insights workspace exists. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func LogAnalyticsWorkspaceExistsContextE ¶ added in v1.0.0
func LogAnalyticsWorkspaceExistsContextE(ctx context.Context, workspaceName string, resourceGroupName string, subscriptionID string) (bool, error)
LogAnalyticsWorkspaceExistsContextE indicates whether the operational insights workspace exists and may return an error. The ctx parameter supports cancellation and timeouts.
func LogAnalyticsWorkspaceExistsE
deprecated
added in
v0.32.7
func ManagedEnvironmentExists
deprecated
added in
v0.48.2
func ManagedEnvironmentExists(t testing.TestingT, environmentName string, resourceGroupName string, subscriptionID string) bool
ManagedEnvironmentExists indicates whether the specified Managed Environment exists. This function would fail the test if there is an error.
Deprecated: Use ManagedEnvironmentExistsContext instead.
func ManagedEnvironmentExistsContext ¶ added in v1.0.0
func ManagedEnvironmentExistsContext(t testing.TestingT, ctx context.Context, environmentName string, resourceGroupName string, subscriptionID string) bool
ManagedEnvironmentExistsContext indicates whether the specified Managed Environment exists. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ManagedEnvironmentExistsContextE ¶ added in v1.0.0
func ManagedEnvironmentExistsContextE(ctx context.Context, environmentName string, resourceGroupName string, subscriptionID string) (bool, error)
ManagedEnvironmentExistsContextE indicates whether the specified Managed Environment exists. The ctx parameter supports cancellation and timeouts.
func ManagedEnvironmentExistsE
deprecated
added in
v0.48.2
func NetworkInterfaceExists
deprecated
added in
v0.30.6
func NetworkInterfaceExists(t testing.TestingT, nicName string, resGroupName string, subscriptionID string) bool
NetworkInterfaceExists indicates whether the specified Azure Network Interface exists. This function would fail the test if there is an error.
Deprecated: Use NetworkInterfaceExistsContext instead.
func NetworkInterfaceExistsContext ¶ added in v1.0.0
func NetworkInterfaceExistsContext(t testing.TestingT, ctx context.Context, nicName string, resGroupName string, subscriptionID string) bool
NetworkInterfaceExistsContext indicates whether the specified Azure Network Interface exists. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func NetworkInterfaceExistsContextE ¶ added in v1.0.0
func NetworkInterfaceExistsContextE(ctx context.Context, nicName string, resGroupName string, subscriptionID string) (bool, error)
NetworkInterfaceExistsContextE indicates whether the specified Azure Network Interface exists. The ctx parameter supports cancellation and timeouts.
func NetworkInterfaceExistsE
deprecated
added in
v0.30.6
func NewAzureCredentialE ¶ added in v0.55.0
func NewAzureCredentialE() (*azidentity.DefaultAzureCredential, error)
NewAzureCredentialE creates a new Azure credential using DefaultAzureCredential.
func PrivateDNSZoneExistsContextE ¶ added in v1.0.0
func PrivateDNSZoneExistsContextE(ctx context.Context, zoneName string, resourceGroupName string, subscriptionID string) (bool, error)
PrivateDNSZoneExistsContextE indicates whether the specified private DNS zone exists. The ctx parameter supports cancellation and timeouts.
func PublicAddressExists
deprecated
added in
v0.30.6
func PublicAddressExists(t testing.TestingT, publicAddressName string, resGroupName string, subscriptionID string) bool
PublicAddressExists indicates whether the specified Azure Public Address exists. This function would fail the test if there is an error.
Deprecated: Use PublicAddressExistsContext instead.
func PublicAddressExistsContext ¶ added in v1.0.0
func PublicAddressExistsContext(t testing.TestingT, ctx context.Context, publicAddressName string, resGroupName string, subscriptionID string) bool
PublicAddressExistsContext indicates whether the specified Azure Public Address exists. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func PublicAddressExistsContextE ¶ added in v1.0.0
func PublicAddressExistsContextE(ctx context.Context, publicAddressName string, resGroupName string, subscriptionID string) (bool, error)
PublicAddressExistsContextE indicates whether the specified Azure Public Address exists. The ctx parameter supports cancellation and timeouts.
func PublicAddressExistsE
deprecated
added in
v0.30.6
func RecoveryServicesVaultExists
deprecated
added in
v0.31.2
func RecoveryServicesVaultExists(t testing.TestingT, vaultName, resourceGroupName, subscriptionID string) bool
RecoveryServicesVaultExists indicates whether a recovery services vault exists; otherwise false. This function would fail the test if there is an error.
Deprecated: Use RecoveryServicesVaultExistsContext instead.
func RecoveryServicesVaultExistsContext ¶ added in v1.0.0
func RecoveryServicesVaultExistsContext(t testing.TestingT, ctx context.Context, vaultName, resourceGroupName, subscriptionID string) bool
RecoveryServicesVaultExistsContext indicates whether a recovery services vault exists; otherwise false. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func RecoveryServicesVaultExistsContextE ¶ added in v1.0.0
func RecoveryServicesVaultExistsContextE(ctx context.Context, vaultName, resourceGroupName, subscriptionID string) (bool, error)
RecoveryServicesVaultExistsContextE indicates whether a recovery services vault exists; otherwise false or error. The ctx parameter supports cancellation and timeouts.
func RecoveryServicesVaultExistsE
deprecated
added in
v0.31.2
func RecoveryServicesVaultExistsE(vaultName, resourceGroupName, subscriptionID string) (bool, error)
RecoveryServicesVaultExistsE indicates whether a recovery services vault exists; otherwise false or error.
Deprecated: Use RecoveryServicesVaultExistsContextE instead.
func ResourceGroupExists
deprecated
added in
v0.30.12
ResourceGroupExists indicates whether a resource group exists within a subscription; otherwise false. This function would fail the test if there is an error.
Deprecated: Use ResourceGroupExistsContext instead.
func ResourceGroupExistsContext ¶ added in v1.0.0
func ResourceGroupExistsContext(t testing.TestingT, ctx context.Context, resourceGroupName string, subscriptionID string) bool
ResourceGroupExistsContext indicates whether a resource group exists within a subscription; otherwise false. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func ResourceGroupExistsContextE ¶ added in v1.0.0
func ResourceGroupExistsContextE(ctx context.Context, resourceGroupName, subscriptionID string) (bool, error)
ResourceGroupExistsContextE indicates whether a resource group exists within a subscription. The ctx parameter supports cancellation and timeouts.
func ResourceGroupExistsE
deprecated
added in
v0.30.12
ResourceGroupExistsE indicates whether a resource group exists within a subscription.
Deprecated: Use ResourceGroupExistsContextE instead.
func ResourceNotFoundErrorExists ¶ added in v0.30.6
ResourceNotFoundErrorExists checks the Service Error Code for the 'Resource Not Found' error.
func SQLManagedInstanceExists
deprecated
added in
v0.43.7
func SQLManagedInstanceExists(t testing.TestingT, managedInstanceName string, resourceGroupName string, subscriptionID string) bool
SQLManagedInstanceExists indicates whether the SQL Managed Instance exists for the subscription. This function would fail the test if there is an error.
Deprecated: Use SQLManagedInstanceExistsContext instead.
func SQLManagedInstanceExistsContext ¶ added in v1.0.0
func SQLManagedInstanceExistsContext(t testing.TestingT, ctx context.Context, managedInstanceName string, resourceGroupName string, subscriptionID string) bool
SQLManagedInstanceExistsContext indicates whether the SQL Managed Instance exists for the subscription. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func SQLManagedInstanceExistsContextE ¶ added in v1.0.0
func SQLManagedInstanceExistsContextE(ctx context.Context, managedInstanceName string, resourceGroupName string, subscriptionID string) (bool, error)
SQLManagedInstanceExistsContextE indicates whether the specified SQL Managed Instance exists. The ctx parameter supports cancellation and timeouts.
func SQLManagedInstanceExistsE
deprecated
added in
v0.43.7
func StorageAccountExists
deprecated
added in
v0.32.5
func StorageAccountExists(t testing.TestingT, storageAccountName string, resourceGroupName string, subscriptionID string) bool
StorageAccountExists indicates whether the storage account name exactly matches; otherwise false. This function would fail the test if there is an error.
Deprecated: Use StorageAccountExistsContext instead.
func StorageAccountExistsContext ¶ added in v1.0.0
func StorageAccountExistsContext(t testing.TestingT, ctx context.Context, storageAccountName string, resourceGroupName string, subscriptionID string) bool
StorageAccountExistsContext indicates whether the storage account name exactly matches; otherwise false. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func StorageAccountExistsContextE ¶ added in v1.0.0
func StorageAccountExistsContextE(ctx context.Context, storageAccountName, resourceGroupName, subscriptionID string) (bool, error)
StorageAccountExistsContextE indicates whether the storage account name exists; otherwise false. The ctx parameter supports cancellation and timeouts.
func StorageAccountExistsE
deprecated
added in
v0.32.5
func StorageBlobContainerExists
deprecated
added in
v0.32.5
func StorageBlobContainerExists(t testing.TestingT, containerName string, storageAccountName string, resourceGroupName string, subscriptionID string) bool
StorageBlobContainerExists returns true if the container name exactly matches; otherwise false. This function would fail the test if there is an error.
Deprecated: Use StorageBlobContainerExistsContext instead.
func StorageBlobContainerExistsContext ¶ added in v1.0.0
func StorageBlobContainerExistsContext(t testing.TestingT, ctx context.Context, containerName string, storageAccountName string, resourceGroupName string, subscriptionID string) bool
StorageBlobContainerExistsContext returns true if the container name exactly matches; otherwise false. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func StorageBlobContainerExistsContextE ¶ added in v1.0.0
func StorageBlobContainerExistsContextE(ctx context.Context, containerName, storageAccountName, resourceGroupName, subscriptionID string) (bool, error)
StorageBlobContainerExistsContextE returns true if the container name exists; otherwise false. The ctx parameter supports cancellation and timeouts.
func StorageBlobContainerExistsE
deprecated
added in
v0.32.5
func StorageBlobContainerExistsE(containerName string, storageAccountName string, resourceGroupName string, subscriptionID string) (bool, error)
StorageBlobContainerExistsE returns true if the container name exactly matches; otherwise false.
Deprecated: Use StorageBlobContainerExistsContextE instead.
func StorageFileShareExists
deprecated
added in
v0.38.5
func StorageFileShareExists(t testing.TestingT, fileShareName string, storageAccountName string, resourceGroupName string, subscriptionID string) bool
StorageFileShareExists returns true if the file share name exactly matches; otherwise false. This function would fail the test if there is an error.
Deprecated: Use StorageFileShareExistsContext instead.
func StorageFileShareExistsContext ¶ added in v1.0.0
func StorageFileShareExistsContext(t testing.TestingT, ctx context.Context, fileShareName string, storageAccountName string, resourceGroupName string, subscriptionID string) bool
StorageFileShareExistsContext returns true if the file share name exactly matches; otherwise false. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func StorageFileShareExistsContextE ¶ added in v1.0.0
func StorageFileShareExistsContextE(ctx context.Context, fileShareName string, storageAccountName string, resourceGroupName string, subscriptionID string) (bool, error)
StorageFileShareExistsContextE returns true if the file share name exactly matches; otherwise false. The ctx parameter supports cancellation and timeouts.
func StorageFileShareExistsE
deprecated
added in
v0.38.5
func SubnetExists
deprecated
added in
v0.30.6
func SubnetExists(t testing.TestingT, subnetName string, vnetName string, resGroupName string, subscriptionID string) bool
SubnetExists indicates whether the specified Azure Virtual Network Subnet exists. This function would fail the test if there is an error.
Deprecated: Use SubnetExistsContext instead.
func SubnetExistsContext ¶ added in v1.0.0
func SubnetExistsContext(t testing.TestingT, ctx context.Context, subnetName string, vnetName string, resGroupName string, subscriptionID string) bool
SubnetExistsContext indicates whether the specified Azure Virtual Network Subnet exists. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func SubnetExistsContextE ¶ added in v1.0.0
func SubnetExistsContextE(ctx context.Context, subnetName string, vnetName string, resGroupName string, subscriptionID string) (bool, error)
SubnetExistsContextE indicates whether the specified Azure Virtual Network Subnet exists. The ctx parameter supports cancellation and timeouts.
func SubnetExistsE
deprecated
added in
v0.30.6
func VirtualMachineExists
deprecated
added in
v0.30.12
func VirtualMachineExists(t testing.TestingT, vmName string, resGroupName string, subscriptionID string) bool
VirtualMachineExists indicates whether the specified Azure Virtual Machine exists. This function would fail the test if there is an error.
Deprecated: Use VirtualMachineExistsContext instead.
func VirtualMachineExistsContext ¶ added in v1.0.0
func VirtualMachineExistsContext(t testing.TestingT, ctx context.Context, vmName string, resGroupName string, subscriptionID string) bool
VirtualMachineExistsContext indicates whether the specified Azure Virtual Machine exists. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func VirtualMachineExistsContextE ¶ added in v1.0.0
func VirtualMachineExistsContextE(ctx context.Context, vmName string, resGroupName string, subscriptionID string) (bool, error)
VirtualMachineExistsContextE indicates whether the specified Azure Virtual Machine exists. The ctx parameter supports cancellation and timeouts.
func VirtualMachineExistsE
deprecated
added in
v0.30.12
func VirtualNetworkExists
deprecated
added in
v0.30.6
func VirtualNetworkExists(t testing.TestingT, vnetName string, resGroupName string, subscriptionID string) bool
VirtualNetworkExists indicates whether the specified Azure Virtual Network exists. This function would fail the test if there is an error.
Deprecated: Use VirtualNetworkExistsContext instead.
func VirtualNetworkExistsContext ¶ added in v1.0.0
func VirtualNetworkExistsContext(t testing.TestingT, ctx context.Context, vnetName string, resGroupName string, subscriptionID string) bool
VirtualNetworkExistsContext indicates whether the specified Azure Virtual Network exists. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func VirtualNetworkExistsContextE ¶ added in v1.0.0
func VirtualNetworkExistsContextE(ctx context.Context, vnetName string, resGroupName string, subscriptionID string) (bool, error)
VirtualNetworkExistsContextE indicates whether the specified Azure Virtual Network exists. The ctx parameter supports cancellation and timeouts.
func VirtualNetworkExistsE
deprecated
added in
v0.30.6
Types ¶
type FailedToParseError ¶ added in v0.30.6
type FailedToParseError struct {
// contains filtered or unexported fields
}
FailedToParseError is returned when an object cannot be parsed.
func NewFailedToParseError ¶ added in v0.30.6
func NewFailedToParseError(objectType string, objectID string) FailedToParseError
NewFailedToParseError creates a new not found error when an expected object is not found in the search space.
func (FailedToParseError) Error ¶ added in v0.30.6
func (err FailedToParseError) Error() string
type Instance ¶ added in v0.30.12
type Instance struct {
*armcompute.VirtualMachine
}
Instance of the VM
func (*Instance) GetVirtualMachineInstanceSize ¶ added in v0.30.12
func (vm *Instance) GetVirtualMachineInstanceSize() armcompute.VirtualMachineSizeTypes
GetVirtualMachineInstanceSize gets the size of the Virtual Machine.
type LoadBalancerIPType ¶ added in v0.30.13
type LoadBalancerIPType string
LoadBalancerIPType enumerator for types Public, Private or No IP.
const ( PublicIP LoadBalancerIPType = "PublicIP" PrivateIP LoadBalancerIPType = "PrivateIP" NoIP LoadBalancerIPType = "NoIP" )
LoadBalancerIPType values
func GetIPOfLoadBalancerFrontendIPConfig
deprecated
added in
v0.30.13
func GetIPOfLoadBalancerFrontendIPConfig(t testing.TestingT, feConfigName string, loadBalancerName string, resourceGroupName string, subscriptionID string) (ipAddress string, publicOrPrivate LoadBalancerIPType)
GetIPOfLoadBalancerFrontendIPConfig gets the IP and LoadBalancerIPType for the specified Load Balancer Frontend IP Configuration. This function would fail the test if there is an error.
Deprecated: Use GetIPOfLoadBalancerFrontendIPConfigContext instead.
func GetIPOfLoadBalancerFrontendIPConfigContext ¶ added in v1.0.0
func GetIPOfLoadBalancerFrontendIPConfigContext(t testing.TestingT, ctx context.Context, feConfigName string, loadBalancerName string, resourceGroupName string, subscriptionID string) (ipAddress string, publicOrPrivate LoadBalancerIPType)
GetIPOfLoadBalancerFrontendIPConfigContext gets the IP and LoadBalancerIPType for the specified Load Balancer Frontend IP Configuration. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetIPOfLoadBalancerFrontendIPConfigContextE ¶ added in v1.0.0
func GetIPOfLoadBalancerFrontendIPConfigContextE(ctx context.Context, feConfigName string, loadBalancerName string, resourceGroupName string, subscriptionID string) (ipAddress string, publicOrPrivate LoadBalancerIPType, err1 error)
GetIPOfLoadBalancerFrontendIPConfigContextE gets the IP and LoadBalancerIPType for the specified Load Balancer Frontend IP Configuration. The ctx parameter supports cancellation and timeouts.
func GetIPOfLoadBalancerFrontendIPConfigE
deprecated
added in
v0.30.13
func GetIPOfLoadBalancerFrontendIPConfigE(feConfigName string, loadBalancerName string, resourceGroupName string, subscriptionID string) (ipAddress string, publicOrPrivate LoadBalancerIPType, err1 error)
GetIPOfLoadBalancerFrontendIPConfigE gets the IP and LoadBalancerIPType for the specified Load Balancer Frontend IP Configuration.
Deprecated: Use GetIPOfLoadBalancerFrontendIPConfigContextE instead.
func GetIPOfLoadBalancerFrontendIPConfigWithClient ¶ added in v1.0.0
func GetIPOfLoadBalancerFrontendIPConfigWithClient(ctx context.Context, feConfig *armnetwork.FrontendIPConfiguration, pipClient *armnetwork.PublicIPAddressesClient, resourceGroupName string) (string, LoadBalancerIPType, error)
GetIPOfLoadBalancerFrontendIPConfigWithClient gets the IP and LoadBalancerIPType for the specified Frontend IP Configuration. For public IPs it requires a PublicIPAddressesClient to resolve the public IP address.
type NotFoundError ¶ added in v0.30.3
type NotFoundError struct {
// contains filtered or unexported fields
}
NotFoundError is returned when an expected object is not found in the search space.
func NewNotFoundError ¶ added in v0.30.3
func NewNotFoundError(objectType string, objectID string, region string) NotFoundError
NewNotFoundError creates a new not found error when an expected object is not found in the search space.
func (NotFoundError) Error ¶ added in v0.30.3
func (err NotFoundError) Error() string
type NsgRuleSummary ¶ added in v0.30.4
type NsgRuleSummary struct {
SourceAddressPrefix string
Direction string
SourcePortRange string
Access string
Name string
Description string
DestinationPortRange string
Protocol string
DestinationAddressPrefix string
SourcePortRanges []string
DestinationPortRanges []string
DestinationAddressPrefixes []string
SourceAddressPrefixes []string
Priority int32
}
NsgRuleSummary is a string-based (non-pointer) summary of an NSG rule with several helper methods attached to help with verification of rule configuration.
func GetCustomNSGRulesWithClient ¶ added in v1.0.0
func GetCustomNSGRulesWithClient(ctx context.Context, client *armnetwork.SecurityRulesClient, resourceGroupName, nsgName string) ([]NsgRuleSummary, error)
GetCustomNSGRulesWithClient returns custom (user-defined) NSG rules using the provided SecurityRulesClient.
func GetDefaultNSGRulesWithClient ¶ added in v1.0.0
func GetDefaultNSGRulesWithClient(ctx context.Context, client *armnetwork.DefaultSecurityRulesClient, resourceGroupName, nsgName string) ([]NsgRuleSummary, error)
GetDefaultNSGRulesWithClient returns default (platform) NSG rules using the provided DefaultSecurityRulesClient.
func (*NsgRuleSummary) AllowsDestinationPort ¶ added in v0.30.4
func (summarizedRule *NsgRuleSummary) AllowsDestinationPort(t testing.TestingT, port string) bool
AllowsDestinationPort checks to see if the rule allows a specific destination port. This is helpful when verifying that a given rule is configured properly for a given port.
func (*NsgRuleSummary) AllowsSourcePort ¶ added in v0.30.4
func (summarizedRule *NsgRuleSummary) AllowsSourcePort(t testing.TestingT, port string) bool
AllowsSourcePort checks to see if the rule allows a specific source port. This is helpful when verifying that a given rule is configured properly for a given port.
type NsgRuleSummaryList ¶ added in v0.30.4
type NsgRuleSummaryList struct {
SummarizedRules []NsgRuleSummary
}
NsgRuleSummaryList holds a collection of NsgRuleSummary rules.
func GetAllNSGRules
deprecated
added in
v0.30.4
func GetAllNSGRules(t testing.TestingT, resourceGroupName, nsgName, subscriptionID string) NsgRuleSummaryList
GetAllNSGRules returns an NsgRuleSummaryList instance containing the combined "default" and "custom" rules from a network security group. This function would fail the test if there is an error.
Deprecated: Use GetAllNSGRulesContext instead.
func GetAllNSGRulesContext ¶ added in v1.0.0
func GetAllNSGRulesContext(t testing.TestingT, ctx context.Context, resourceGroupName, nsgName, subscriptionID string) NsgRuleSummaryList
GetAllNSGRulesContext returns an NsgRuleSummaryList instance containing the combined "default" and "custom" rules from a network security group. The ctx parameter supports cancellation and timeouts. This function would fail the test if there is an error.
func GetAllNSGRulesContextE ¶ added in v1.0.0
func GetAllNSGRulesContextE(ctx context.Context, resourceGroupName, nsgName, subscriptionID string) (NsgRuleSummaryList, error)
GetAllNSGRulesContextE returns an NsgRuleSummaryList instance containing the combined "default" and "custom" rules from a network security group. The ctx parameter supports cancellation and timeouts.
func GetAllNSGRulesE
deprecated
added in
v0.30.4
func GetAllNSGRulesE(resourceGroupName, nsgName, subscriptionID string) (NsgRuleSummaryList, error)
GetAllNSGRulesE returns an NsgRuleSummaryList instance containing the combined "default" and "custom" rules from a network security group.
Deprecated: Use GetAllNSGRulesContextE instead.
func (*NsgRuleSummaryList) FindRuleByName ¶ added in v0.30.4
func (summarizedRules *NsgRuleSummaryList) FindRuleByName(name string) NsgRuleSummary
FindRuleByName looks for a matching rule by name within the current collection of rules.
type ResourceGroupNameNotFound ¶
type ResourceGroupNameNotFound struct{}
ResourceGroupNameNotFound is an error that occurs when the target Azure Resource Group name could not be found or was not provided.
func (ResourceGroupNameNotFound) Error ¶
func (err ResourceGroupNameNotFound) Error() string
type SubscriptionIDNotFound ¶
type SubscriptionIDNotFound struct{}
SubscriptionIDNotFound is an error that occurs when the Azure Subscription ID could not be found or was not provided.
func (SubscriptionIDNotFound) Error ¶
func (err SubscriptionIDNotFound) Error() string
type UnknownEnvironmentError ¶ added in v1.0.0
type UnknownEnvironmentError struct {
EnvironmentName string
}
UnknownEnvironmentError is returned when an Azure environment name is not recognized.
func (*UnknownEnvironmentError) Error ¶ added in v1.0.0
func (e *UnknownEnvironmentError) Error() string
type VMImage ¶ added in v0.30.12
VMImage represents the storage image for the specified Azure Virtual Machine.
func GetVirtualMachineImage
deprecated
added in
v0.30.12
func GetVirtualMachineImage(t testing.TestingT, vmName string, resGroupName string, subscriptionID string) *VMImage
GetVirtualMachineImage gets the Image of the specified Azure Virtual Machine. This function would fail the test if there is an error.
Deprecated: Use GetVirtualMachineImageContext instead.
func GetVirtualMachineImageContext ¶ added in v1.0.0
func GetVirtualMachineImageContext(t testing.TestingT, ctx context.Context, vmName string, resGroupName string, subscriptionID string) *VMImage
GetVirtualMachineImageContext gets the Image of the specified Azure Virtual Machine. This function would fail the test if there is an error. The ctx parameter supports cancellation and timeouts.
func GetVirtualMachineImageContextE ¶ added in v1.0.0
func GetVirtualMachineImageContextE(ctx context.Context, vmName string, resGroupName string, subscriptionID string) (*VMImage, error)
GetVirtualMachineImageContextE gets the Image of the specified Azure Virtual Machine. The ctx parameter supports cancellation and timeouts.
func GetVirtualMachineImageE
deprecated
added in
v0.30.12
Source Files
¶
- actiongroup.go
- aks.go
- appService.go
- availabilityset.go
- client_factory.go
- common.go
- compute.go
- container_apps.go
- containers.go
- cosmosdb.go
- datafactory.go
- disk.go
- enums.go
- errors.go
- frontdoor.go
- keyvault.go
- loadbalancer.go
- loganalytics.go
- monitor.go
- mysql.go
- networkinterface.go
- nsg.go
- postgresql.go
- privatednszone.go
- publicaddress.go
- recoveryservices.go
- region.go
- resourcegroup.go
- resourceid.go
- servicebus.go
- sql.go
- sql_managedinstance.go
- storage.go
- subscription.go
- synapse.go
- virtualnetwork.go