1. Packages
  2. Azure Native
  3. API Docs
  4. sql
  5. getServerTrustGroup
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.sql.getServerTrustGroup

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Gets a server trust group.

Uses Azure REST API version 2023-08-01.

Other available API versions: 2020-02-02-preview, 2020-08-01-preview, 2020-11-01-preview, 2021-02-01-preview, 2021-05-01-preview, 2021-08-01-preview, 2021-11-01, 2021-11-01-preview, 2022-02-01-preview, 2022-05-01-preview, 2022-08-01-preview, 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native sql [ApiVersion]. See the version guide for details.

Using getServerTrustGroup

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getServerTrustGroup(args: GetServerTrustGroupArgs, opts?: InvokeOptions): Promise<GetServerTrustGroupResult>
function getServerTrustGroupOutput(args: GetServerTrustGroupOutputArgs, opts?: InvokeOptions): Output<GetServerTrustGroupResult>
Copy
def get_server_trust_group(location_name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           server_trust_group_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetServerTrustGroupResult
def get_server_trust_group_output(location_name: Optional[pulumi.Input[str]] = None,
                           resource_group_name: Optional[pulumi.Input[str]] = None,
                           server_trust_group_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetServerTrustGroupResult]
Copy
func LookupServerTrustGroup(ctx *Context, args *LookupServerTrustGroupArgs, opts ...InvokeOption) (*LookupServerTrustGroupResult, error)
func LookupServerTrustGroupOutput(ctx *Context, args *LookupServerTrustGroupOutputArgs, opts ...InvokeOption) LookupServerTrustGroupResultOutput
Copy

> Note: This function is named LookupServerTrustGroup in the Go SDK.

public static class GetServerTrustGroup 
{
    public static Task<GetServerTrustGroupResult> InvokeAsync(GetServerTrustGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetServerTrustGroupResult> Invoke(GetServerTrustGroupInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetServerTrustGroupResult> getServerTrustGroup(GetServerTrustGroupArgs args, InvokeOptions options)
public static Output<GetServerTrustGroupResult> getServerTrustGroup(GetServerTrustGroupArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:sql:getServerTrustGroup
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

LocationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the region where the resource is located.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
ServerTrustGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the server trust group.
LocationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the region where the resource is located.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
ServerTrustGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the server trust group.
locationName
This property is required.
Changes to this property will trigger replacement.
String
The name of the region where the resource is located.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverTrustGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the server trust group.
locationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the region where the resource is located.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverTrustGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the server trust group.
location_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the region where the resource is located.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
server_trust_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the server trust group.
locationName
This property is required.
Changes to this property will trigger replacement.
String
The name of the region where the resource is located.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverTrustGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the server trust group.

getServerTrustGroup Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
GroupMembers List<Pulumi.AzureNative.Sql.Outputs.ServerInfoResponse>
Group members information for the server trust group.
Id string
Resource ID.
Name string
Resource name.
TrustScopes List<string>
Trust scope of the server trust group.
Type string
Resource type.
AzureApiVersion string
The Azure API version of the resource.
GroupMembers []ServerInfoResponse
Group members information for the server trust group.
Id string
Resource ID.
Name string
Resource name.
TrustScopes []string
Trust scope of the server trust group.
Type string
Resource type.
azureApiVersion String
The Azure API version of the resource.
groupMembers List<ServerInfoResponse>
Group members information for the server trust group.
id String
Resource ID.
name String
Resource name.
trustScopes List<String>
Trust scope of the server trust group.
type String
Resource type.
azureApiVersion string
The Azure API version of the resource.
groupMembers ServerInfoResponse[]
Group members information for the server trust group.
id string
Resource ID.
name string
Resource name.
trustScopes string[]
Trust scope of the server trust group.
type string
Resource type.
azure_api_version str
The Azure API version of the resource.
group_members Sequence[ServerInfoResponse]
Group members information for the server trust group.
id str
Resource ID.
name str
Resource name.
trust_scopes Sequence[str]
Trust scope of the server trust group.
type str
Resource type.
azureApiVersion String
The Azure API version of the resource.
groupMembers List<Property Map>
Group members information for the server trust group.
id String
Resource ID.
name String
Resource name.
trustScopes List<String>
Trust scope of the server trust group.
type String
Resource type.

Supporting Types

ServerInfoResponse

ServerId This property is required. string
Server Id.
ServerId This property is required. string
Server Id.
serverId This property is required. String
Server Id.
serverId This property is required. string
Server Id.
server_id This property is required. str
Server Id.
serverId This property is required. String
Server Id.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi