/// <summary> /// Gets a Service Fabric service resource. /// </summary> /// <remarks> /// Get a Service Fabric service resource created or in the process of being /// created in the Service Fabric application resource. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='clusterName'> /// The name of the cluster resource. /// </param> /// <param name='applicationName'> /// The name of the application resource. /// </param> /// <param name='serviceName'> /// The name of the service resource in the format of /// {applicationName}~{serviceName}. /// </param> public static ServiceResource Get(this IServicesOperations operations, string resourceGroupName, string clusterName, string applicationName, string serviceName) { return(operations.GetAsync(resourceGroupName, clusterName, applicationName, serviceName).GetAwaiter().GetResult()); }
/// <summary> /// Gets a specific Azure service for support ticket creation. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='serviceName'> /// Name of Azure service /// </param> public static Service Get(this IServicesOperations operations, string serviceName) { return(operations.GetAsync(serviceName).GetAwaiter().GetResult()); }
/// <summary> /// Gets the service. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='serviceTopologyName'> /// The name of the service topology . /// </param> /// <param name='serviceName'> /// The name of the service resource. /// </param> public static ServiceResource Get(this IServicesOperations operations, string resourceGroupName, string serviceTopologyName, string serviceName) { return(operations.GetAsync(resourceGroupName, serviceTopologyName, serviceName).GetAwaiter().GetResult()); }
/// <summary> /// Get the metadata of a service instance. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group that contains the service instance. /// </param> /// <param name='resourceName'> /// The name of the service instance. /// </param> public static ServicesDescription Get(this IServicesOperations operations, string resourceGroupName, string resourceName) { return(operations.GetAsync(resourceGroupName, resourceName).GetAwaiter().GetResult()); }
/// <summary> /// Gets the Search service with the given name in the given resource group. /// <see href="https://aka.ms/search-manage" /> /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group within the current subscription. You can /// obtain this value from the Azure Resource Manager API or the portal. /// </param> /// <param name='searchServiceName'> /// The name of the Azure Search service associated with the specified resource /// group. /// </param> /// <param name='searchManagementRequestOptions'> /// Additional parameters for the operation /// </param> public static SearchService Get(this IServicesOperations operations, string resourceGroupName, string searchServiceName, SearchManagementRequestOptions searchManagementRequestOptions = default(SearchManagementRequestOptions)) { return(operations.GetAsync(resourceGroupName, searchServiceName, searchManagementRequestOptions).GetAwaiter().GetResult()); }
/// <summary> /// Get DMS Service Instance /// </summary> /// <remarks> /// The services resource is the top-level resource that represents the /// Database Migration Service. The GET method retrieves information about a /// service instance. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='groupName'> /// Name of the resource group /// </param> /// <param name='serviceName'> /// Name of the service /// </param> public static DataMigrationService Get(this IServicesOperations operations, string groupName, string serviceName) { return(operations.GetAsync(groupName, serviceName).GetAwaiter().GetResult()); }