/// <summary> /// Gets the Git access configuration for the tenant. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='serviceName'> /// The name of the API Management service. /// </param> public static AccessInformationContract Get(this ITenantAccessGitOperations operations, string resourceGroupName, string serviceName) { return(operations.GetAsync(resourceGroupName, serviceName).GetAwaiter().GetResult()); }
/// <summary> /// Get tenant settings. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.ApiManagement.ITenantAccessGitOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The name of the resource group. /// </param> /// <param name='serviceName'> /// Required. The name of the Api Management service. /// </param> /// <returns> /// Get Tenant Access Information operation response details. /// </returns> public static Task <AccessInformationGetResponse> GetAsync(this ITenantAccessGitOperations operations, string resourceGroupName, string serviceName) { return(operations.GetAsync(resourceGroupName, serviceName, CancellationToken.None)); }