These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.sql.getServerTrustGroup
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets a server trust group. API Version: 2020-11-01-preview.
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>
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]
func LookupServerTrustGroup(ctx *Context, args *LookupServerTrustGroupArgs, opts ...InvokeOption) (*LookupServerTrustGroupResult, error)
func LookupServerTrustGroupOutput(ctx *Context, args *LookupServerTrustGroupOutputArgs, opts ...InvokeOption) LookupServerTrustGroupResultOutput
> 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)
}
public static CompletableFuture<GetServerTrustGroupResult> getServerTrustGroup(GetServerTrustGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:sql:getServerTrustGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Location
Name string - The name of the region where the resource is located.
- Resource
Group stringName - 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 stringGroup Name - The name of the server trust group.
- Location
Name string - The name of the region where the resource is located.
- Resource
Group stringName - 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 stringGroup Name - The name of the server trust group.
- location
Name String - The name of the region where the resource is located.
- resource
Group StringName - 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 StringGroup Name - The name of the server trust group.
- location
Name string - The name of the region where the resource is located.
- resource
Group stringName - 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 stringGroup Name - The name of the server trust group.
- location_
name str - The name of the region where the resource is located.
- resource_
group_ strname - 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_ strgroup_ name - The name of the server trust group.
- location
Name String - The name of the region where the resource is located.
- resource
Group StringName - 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 StringGroup Name - The name of the server trust group.
getServerTrustGroup Result
The following output properties are available:
- Group
Members List<Pulumi.Azure Native. Sql. Outputs. Server Info Response> - Group members information for the server trust group.
- Id string
- Resource ID.
- Name string
- Resource name.
- Trust
Scopes List<string> - Trust scope of the server trust group.
- Type string
- Resource type.
- Group
Members []ServerInfo Response - Group members information for the server trust group.
- Id string
- Resource ID.
- Name string
- Resource name.
- Trust
Scopes []string - Trust scope of the server trust group.
- Type string
- Resource type.
- group
Members List<ServerInfo Response> - Group members information for the server trust group.
- id String
- Resource ID.
- name String
- Resource name.
- trust
Scopes List<String> - Trust scope of the server trust group.
- type String
- Resource type.
- group
Members ServerInfo Response[] - Group members information for the server trust group.
- id string
- Resource ID.
- name string
- Resource name.
- trust
Scopes string[] - Trust scope of the server trust group.
- type string
- Resource type.
- group_
members Sequence[ServerInfo Response] - 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.
- group
Members List<Property Map> - Group members information for the server trust group.
- id String
- Resource ID.
- name String
- Resource name.
- trust
Scopes List<String> - Trust scope of the server trust group.
- type String
- Resource type.
Supporting Types
ServerInfoResponse
- Server
Id string - Server Id.
- Server
Id string - Server Id.
- server
Id String - Server Id.
- server
Id string - Server Id.
- server_
id str - Server Id.
- server
Id String - Server Id.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi