...

Package aad

import "github.com/Azure/azure-sdk-for-go/services/domainservices/mgmt/2020-01-01/aad"
Overview
Index
Subdirectories

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/domainservices/armdomainservices(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/domainservices/armdomainservices). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

Package aad implements the Azure ARM Aad service API version 2020-01-01.

The AAD Domain Services API.

Index ▾

Constants
func UserAgent() string
func Version() string
type BaseClient
    func New(subscriptionID string) BaseClient
    func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
type CloudError
type CloudErrorBody
type ContainerAccount
type DomainSecuritySettings
type DomainService
    func (ds DomainService) MarshalJSON() ([]byte, error)
    func (ds *DomainService) UnmarshalJSON(body []byte) error
type DomainServiceListResult
    func (dslr DomainServiceListResult) IsEmpty() bool
    func (dslr DomainServiceListResult) MarshalJSON() ([]byte, error)
type DomainServiceListResultIterator
    func NewDomainServiceListResultIterator(page DomainServiceListResultPage) DomainServiceListResultIterator
    func (iter *DomainServiceListResultIterator) Next() error
    func (iter *DomainServiceListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter DomainServiceListResultIterator) NotDone() bool
    func (iter DomainServiceListResultIterator) Response() DomainServiceListResult
    func (iter DomainServiceListResultIterator) Value() DomainService
type DomainServiceListResultPage
    func NewDomainServiceListResultPage(cur DomainServiceListResult, getNextPage func(context.Context, DomainServiceListResult) (DomainServiceListResult, error)) DomainServiceListResultPage
    func (page *DomainServiceListResultPage) Next() error
    func (page *DomainServiceListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page DomainServiceListResultPage) NotDone() bool
    func (page DomainServiceListResultPage) Response() DomainServiceListResult
    func (page DomainServiceListResultPage) Values() []DomainService
type DomainServiceOperationsClient
    func NewDomainServiceOperationsClient(subscriptionID string) DomainServiceOperationsClient
    func NewDomainServiceOperationsClientWithBaseURI(baseURI string, subscriptionID string) DomainServiceOperationsClient
    func (client DomainServiceOperationsClient) List(ctx context.Context) (result OperationEntityListResultPage, err error)
    func (client DomainServiceOperationsClient) ListComplete(ctx context.Context) (result OperationEntityListResultIterator, err error)
    func (client DomainServiceOperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client DomainServiceOperationsClient) ListResponder(resp *http.Response) (result OperationEntityListResult, err error)
    func (client DomainServiceOperationsClient) ListSender(req *http.Request) (*http.Response, error)
type DomainServiceProperties
    func (dsp DomainServiceProperties) MarshalJSON() ([]byte, error)
type DomainServicesClient
    func NewDomainServicesClient(subscriptionID string) DomainServicesClient
    func NewDomainServicesClientWithBaseURI(baseURI string, subscriptionID string) DomainServicesClient
    func (client DomainServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, domainServiceName string, domainService DomainService) (result DomainServicesCreateOrUpdateFuture, err error)
    func (client DomainServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, domainServiceName string, domainService DomainService) (*http.Request, error)
    func (client DomainServicesClient) CreateOrUpdateResponder(resp *http.Response) (result DomainService, err error)
    func (client DomainServicesClient) CreateOrUpdateSender(req *http.Request) (future DomainServicesCreateOrUpdateFuture, err error)
    func (client DomainServicesClient) Delete(ctx context.Context, resourceGroupName string, domainServiceName string) (result DomainServicesDeleteFuture, err error)
    func (client DomainServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, domainServiceName string) (*http.Request, error)
    func (client DomainServicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DomainServicesClient) DeleteSender(req *http.Request) (future DomainServicesDeleteFuture, err error)
    func (client DomainServicesClient) Get(ctx context.Context, resourceGroupName string, domainServiceName string) (result DomainService, err error)
    func (client DomainServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, domainServiceName string) (*http.Request, error)
    func (client DomainServicesClient) GetResponder(resp *http.Response) (result DomainService, err error)
    func (client DomainServicesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client DomainServicesClient) List(ctx context.Context) (result DomainServiceListResultPage, err error)
    func (client DomainServicesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DomainServiceListResultPage, err error)
    func (client DomainServicesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DomainServiceListResultIterator, err error)
    func (client DomainServicesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client DomainServicesClient) ListByResourceGroupResponder(resp *http.Response) (result DomainServiceListResult, err error)
    func (client DomainServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client DomainServicesClient) ListComplete(ctx context.Context) (result DomainServiceListResultIterator, err error)
    func (client DomainServicesClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client DomainServicesClient) ListResponder(resp *http.Response) (result DomainServiceListResult, err error)
    func (client DomainServicesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client DomainServicesClient) Update(ctx context.Context, resourceGroupName string, domainServiceName string, domainService DomainService) (result DomainServicesUpdateFuture, err error)
    func (client DomainServicesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, domainServiceName string, domainService DomainService) (*http.Request, error)
    func (client DomainServicesClient) UpdateResponder(resp *http.Response) (result DomainService, err error)
    func (client DomainServicesClient) UpdateSender(req *http.Request) (future DomainServicesUpdateFuture, err error)
type DomainServicesCreateOrUpdateFuture
    func (future *DomainServicesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type DomainServicesDeleteFuture
    func (future *DomainServicesDeleteFuture) UnmarshalJSON(body []byte) error
type DomainServicesUpdateFuture
    func (future *DomainServicesUpdateFuture) UnmarshalJSON(body []byte) error
type ExternalAccess
    func PossibleExternalAccessValues() []ExternalAccess
type FilteredSync
    func PossibleFilteredSyncValues() []FilteredSync
type ForestTrust
type HealthAlert
    func (ha HealthAlert) MarshalJSON() ([]byte, error)
type HealthMonitor
    func (hm HealthMonitor) MarshalJSON() ([]byte, error)
type Ldaps
    func PossibleLdapsValues() []Ldaps
type LdapsSettings
    func (ls LdapsSettings) MarshalJSON() ([]byte, error)
type NotificationSettings
type NotifyDcAdmins
    func PossibleNotifyDcAdminsValues() []NotifyDcAdmins
type NotifyGlobalAdmins
    func PossibleNotifyGlobalAdminsValues() []NotifyGlobalAdmins
type NtlmV1
    func PossibleNtlmV1Values() []NtlmV1
type OperationDisplayInfo
type OperationEntity
type OperationEntityListResult
    func (oelr OperationEntityListResult) IsEmpty() bool
    func (oelr OperationEntityListResult) MarshalJSON() ([]byte, error)
type OperationEntityListResultIterator
    func NewOperationEntityListResultIterator(page OperationEntityListResultPage) OperationEntityListResultIterator
    func (iter *OperationEntityListResultIterator) Next() error
    func (iter *OperationEntityListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter OperationEntityListResultIterator) NotDone() bool
    func (iter OperationEntityListResultIterator) Response() OperationEntityListResult
    func (iter OperationEntityListResultIterator) Value() OperationEntity
type OperationEntityListResultPage
    func NewOperationEntityListResultPage(cur OperationEntityListResult, getNextPage func(context.Context, OperationEntityListResult) (OperationEntityListResult, error)) OperationEntityListResultPage
    func (page *OperationEntityListResultPage) Next() error
    func (page *OperationEntityListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page OperationEntityListResultPage) NotDone() bool
    func (page OperationEntityListResultPage) Response() OperationEntityListResult
    func (page OperationEntityListResultPage) Values() []OperationEntity
type OuContainer
    func (oc OuContainer) MarshalJSON() ([]byte, error)
    func (oc *OuContainer) UnmarshalJSON(body []byte) error
type OuContainerClient
    func NewOuContainerClient(subscriptionID string) OuContainerClient
    func NewOuContainerClientWithBaseURI(baseURI string, subscriptionID string) OuContainerClient
    func (client OuContainerClient) Create(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string, containerAccount ContainerAccount) (result OuContainerCreateFuture, err error)
    func (client OuContainerClient) CreatePreparer(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string, containerAccount ContainerAccount) (*http.Request, error)
    func (client OuContainerClient) CreateResponder(resp *http.Response) (result OuContainer, err error)
    func (client OuContainerClient) CreateSender(req *http.Request) (future OuContainerCreateFuture, err error)
    func (client OuContainerClient) Delete(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string) (result OuContainerDeleteFuture, err error)
    func (client OuContainerClient) DeletePreparer(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string) (*http.Request, error)
    func (client OuContainerClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client OuContainerClient) DeleteSender(req *http.Request) (future OuContainerDeleteFuture, err error)
    func (client OuContainerClient) Get(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string) (result OuContainer, err error)
    func (client OuContainerClient) GetPreparer(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string) (*http.Request, error)
    func (client OuContainerClient) GetResponder(resp *http.Response) (result OuContainer, err error)
    func (client OuContainerClient) GetSender(req *http.Request) (*http.Response, error)
    func (client OuContainerClient) List(ctx context.Context, resourceGroupName string, domainServiceName string) (result OuContainerListResultPage, err error)
    func (client OuContainerClient) ListComplete(ctx context.Context, resourceGroupName string, domainServiceName string) (result OuContainerListResultIterator, err error)
    func (client OuContainerClient) ListPreparer(ctx context.Context, resourceGroupName string, domainServiceName string) (*http.Request, error)
    func (client OuContainerClient) ListResponder(resp *http.Response) (result OuContainerListResult, err error)
    func (client OuContainerClient) ListSender(req *http.Request) (*http.Response, error)
    func (client OuContainerClient) Update(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string, containerAccount ContainerAccount) (result OuContainerUpdateFuture, err error)
    func (client OuContainerClient) UpdatePreparer(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string, containerAccount ContainerAccount) (*http.Request, error)
    func (client OuContainerClient) UpdateResponder(resp *http.Response) (result OuContainer, err error)
    func (client OuContainerClient) UpdateSender(req *http.Request) (future OuContainerUpdateFuture, err error)
type OuContainerCreateFuture
    func (future *OuContainerCreateFuture) UnmarshalJSON(body []byte) error
type OuContainerDeleteFuture
    func (future *OuContainerDeleteFuture) UnmarshalJSON(body []byte) error
type OuContainerListResult
    func (oclr OuContainerListResult) IsEmpty() bool
    func (oclr OuContainerListResult) MarshalJSON() ([]byte, error)
type OuContainerListResultIterator
    func NewOuContainerListResultIterator(page OuContainerListResultPage) OuContainerListResultIterator
    func (iter *OuContainerListResultIterator) Next() error
    func (iter *OuContainerListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter OuContainerListResultIterator) NotDone() bool
    func (iter OuContainerListResultIterator) Response() OuContainerListResult
    func (iter OuContainerListResultIterator) Value() OuContainer
type OuContainerListResultPage
    func NewOuContainerListResultPage(cur OuContainerListResult, getNextPage func(context.Context, OuContainerListResult) (OuContainerListResult, error)) OuContainerListResultPage
    func (page *OuContainerListResultPage) Next() error
    func (page *OuContainerListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page OuContainerListResultPage) NotDone() bool
    func (page OuContainerListResultPage) Response() OuContainerListResult
    func (page OuContainerListResultPage) Values() []OuContainer
type OuContainerOperationsClient
    func NewOuContainerOperationsClient(subscriptionID string) OuContainerOperationsClient
    func NewOuContainerOperationsClientWithBaseURI(baseURI string, subscriptionID string) OuContainerOperationsClient
    func (client OuContainerOperationsClient) List(ctx context.Context) (result OperationEntityListResultPage, err error)
    func (client OuContainerOperationsClient) ListComplete(ctx context.Context) (result OperationEntityListResultIterator, err error)
    func (client OuContainerOperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client OuContainerOperationsClient) ListResponder(resp *http.Response) (result OperationEntityListResult, err error)
    func (client OuContainerOperationsClient) ListSender(req *http.Request) (*http.Response, error)
type OuContainerProperties
    func (ocp OuContainerProperties) MarshalJSON() ([]byte, error)
type OuContainerUpdateFuture
    func (future *OuContainerUpdateFuture) UnmarshalJSON(body []byte) error
type ReplicaSet
    func (rs ReplicaSet) MarshalJSON() ([]byte, error)
type Resource
    func (r Resource) MarshalJSON() ([]byte, error)
type ResourceForestSettings
type SyncKerberosPasswords
    func PossibleSyncKerberosPasswordsValues() []SyncKerberosPasswords
type SyncNtlmPasswords
    func PossibleSyncNtlmPasswordsValues() []SyncNtlmPasswords
type SyncOnPremPasswords
    func PossibleSyncOnPremPasswordsValues() []SyncOnPremPasswords
type TLSV1
    func PossibleTLSV1Values() []TLSV1

Package files

client.go domainserviceoperations.go domainservices.go enums.go models.go oucontainer.go oucontaineroperations.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Aad
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type BaseClient

BaseClient is the base client for Aad.

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type CloudError

CloudError an error response from the Domain Services.

type CloudError struct {
    // Error - An error response from the Domain Services.
    Error *CloudErrorBody `json:"error,omitempty"`
}

type CloudErrorBody

CloudErrorBody an error response from the Domain Services.

type CloudErrorBody struct {
    // Code - An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
    Code *string `json:"code,omitempty"`
    // Message - A message describing the error, intended to be suitable for display in a user interface.
    Message *string `json:"message,omitempty"`
    // Target - The target of the particular error. For example, the name of the property in error.
    Target *string `json:"target,omitempty"`
    // Details - A list of additional details about the error.
    Details *[]CloudErrorBody `json:"details,omitempty"`
}

type ContainerAccount

ContainerAccount container Account Description

type ContainerAccount struct {
    // AccountName - The account name
    AccountName *string `json:"accountName,omitempty"`
    // Spn - The account spn
    Spn *string `json:"spn,omitempty"`
    // Password - The account password
    Password *string `json:"password,omitempty"`
}

type DomainSecuritySettings

DomainSecuritySettings domain Security Settings

type DomainSecuritySettings struct {
    // NtlmV1 - A flag to determine whether or not NtlmV1 is enabled or disabled. Possible values include: 'NtlmV1Enabled', 'NtlmV1Disabled'
    NtlmV1 NtlmV1 `json:"ntlmV1,omitempty"`
    // TLSV1 - A flag to determine whether or not TlsV1 is enabled or disabled. Possible values include: 'TLSV1Enabled', 'TLSV1Disabled'
    TLSV1 TLSV1 `json:"tlsV1,omitempty"`
    // SyncNtlmPasswords - A flag to determine whether or not SyncNtlmPasswords is enabled or disabled. Possible values include: 'SyncNtlmPasswordsEnabled', 'SyncNtlmPasswordsDisabled'
    SyncNtlmPasswords SyncNtlmPasswords `json:"syncNtlmPasswords,omitempty"`
    // SyncKerberosPasswords - A flag to determine whether or not SyncKerberosPasswords is enabled or disabled. Possible values include: 'SyncKerberosPasswordsEnabled', 'SyncKerberosPasswordsDisabled'
    SyncKerberosPasswords SyncKerberosPasswords `json:"syncKerberosPasswords,omitempty"`
    // SyncOnPremPasswords - A flag to determine whether or not SyncOnPremPasswords is enabled or disabled. Possible values include: 'SyncOnPremPasswordsEnabled', 'SyncOnPremPasswordsDisabled'
    SyncOnPremPasswords SyncOnPremPasswords `json:"syncOnPremPasswords,omitempty"`
}

type DomainService

DomainService domain service.

type DomainService struct {
    autorest.Response `json:"-"`
    // DomainServiceProperties - Domain service properties
    *DomainServiceProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // Etag - Resource etag
    Etag *string `json:"etag,omitempty"`
}

func (DomainService) MarshalJSON

func (ds DomainService) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DomainService.

func (*DomainService) UnmarshalJSON

func (ds *DomainService) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DomainService struct.

type DomainServiceListResult

DomainServiceListResult the response from the List Domain Services operation.

type DomainServiceListResult struct {
    autorest.Response `json:"-"`
    // Value - the list of domain services.
    Value *[]DomainService `json:"value,omitempty"`
    // NextLink - READ-ONLY; The continuation token for the next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (DomainServiceListResult) IsEmpty

func (dslr DomainServiceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (DomainServiceListResult) MarshalJSON

func (dslr DomainServiceListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DomainServiceListResult.

type DomainServiceListResultIterator

DomainServiceListResultIterator provides access to a complete listing of DomainService values.

type DomainServiceListResultIterator struct {
    // contains filtered or unexported fields
}

func NewDomainServiceListResultIterator

func NewDomainServiceListResultIterator(page DomainServiceListResultPage) DomainServiceListResultIterator

Creates a new instance of the DomainServiceListResultIterator type.

func (*DomainServiceListResultIterator) Next

func (iter *DomainServiceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DomainServiceListResultIterator) NextWithContext

func (iter *DomainServiceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DomainServiceListResultIterator) NotDone

func (iter DomainServiceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DomainServiceListResultIterator) Response

func (iter DomainServiceListResultIterator) Response() DomainServiceListResult

Response returns the raw server response from the last page request.

func (DomainServiceListResultIterator) Value

func (iter DomainServiceListResultIterator) Value() DomainService

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DomainServiceListResultPage

DomainServiceListResultPage contains a page of DomainService values.

type DomainServiceListResultPage struct {
    // contains filtered or unexported fields
}

func NewDomainServiceListResultPage

func NewDomainServiceListResultPage(cur DomainServiceListResult, getNextPage func(context.Context, DomainServiceListResult) (DomainServiceListResult, error)) DomainServiceListResultPage

Creates a new instance of the DomainServiceListResultPage type.

func (*DomainServiceListResultPage) Next

func (page *DomainServiceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DomainServiceListResultPage) NextWithContext

func (page *DomainServiceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DomainServiceListResultPage) NotDone

func (page DomainServiceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DomainServiceListResultPage) Response

func (page DomainServiceListResultPage) Response() DomainServiceListResult

Response returns the raw server response from the last page request.

func (DomainServiceListResultPage) Values

func (page DomainServiceListResultPage) Values() []DomainService

Values returns the slice of values for the current page or nil if there are no values.

type DomainServiceOperationsClient

DomainServiceOperationsClient is the the AAD Domain Services API.

type DomainServiceOperationsClient struct {
    BaseClient
}

func NewDomainServiceOperationsClient

func NewDomainServiceOperationsClient(subscriptionID string) DomainServiceOperationsClient

NewDomainServiceOperationsClient creates an instance of the DomainServiceOperationsClient client.

func NewDomainServiceOperationsClientWithBaseURI

func NewDomainServiceOperationsClientWithBaseURI(baseURI string, subscriptionID string) DomainServiceOperationsClient

NewDomainServiceOperationsClientWithBaseURI creates an instance of the DomainServiceOperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DomainServiceOperationsClient) List

func (client DomainServiceOperationsClient) List(ctx context.Context) (result OperationEntityListResultPage, err error)

List lists all the available Domain Services operations.

func (DomainServiceOperationsClient) ListComplete

func (client DomainServiceOperationsClient) ListComplete(ctx context.Context) (result OperationEntityListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DomainServiceOperationsClient) ListPreparer

func (client DomainServiceOperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (DomainServiceOperationsClient) ListResponder

func (client DomainServiceOperationsClient) ListResponder(resp *http.Response) (result OperationEntityListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DomainServiceOperationsClient) ListSender

func (client DomainServiceOperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type DomainServiceProperties

DomainServiceProperties properties of the Domain Service.

type DomainServiceProperties struct {
    // Version - READ-ONLY; Data Model Version
    Version *int32 `json:"version,omitempty"`
    // TenantID - READ-ONLY; Azure Active Directory Tenant Id
    TenantID *string `json:"tenantId,omitempty"`
    // DomainName - The name of the Azure domain that the user would like to deploy Domain Services to.
    DomainName *string `json:"domainName,omitempty"`
    // DeploymentID - READ-ONLY; Deployment Id
    DeploymentID *string `json:"deploymentId,omitempty"`
    // SyncOwner - READ-ONLY; SyncOwner ReplicaSet Id
    SyncOwner *string `json:"syncOwner,omitempty"`
    // ReplicaSets - List of ReplicaSets
    ReplicaSets *[]ReplicaSet `json:"replicaSets,omitempty"`
    // LdapsSettings - Secure LDAP Settings
    LdapsSettings *LdapsSettings `json:"ldapsSettings,omitempty"`
    // ResourceForestSettings - Resource Forest Settings
    ResourceForestSettings *ResourceForestSettings `json:"resourceForestSettings,omitempty"`
    // DomainSecuritySettings - DomainSecurity Settings
    DomainSecuritySettings *DomainSecuritySettings `json:"domainSecuritySettings,omitempty"`
    // DomainConfigurationType - Domain Configuration Type
    DomainConfigurationType *string `json:"domainConfigurationType,omitempty"`
    // Sku - Sku Type
    Sku *string `json:"sku,omitempty"`
    // FilteredSync - Enabled or Disabled flag to turn on Group-based filtered sync. Possible values include: 'FilteredSyncEnabled', 'FilteredSyncDisabled'
    FilteredSync FilteredSync `json:"filteredSync,omitempty"`
    // NotificationSettings - Notification Settings
    NotificationSettings *NotificationSettings `json:"notificationSettings,omitempty"`
    // ProvisioningState - READ-ONLY; the current deployment or provisioning state, which only appears in the response.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

func (DomainServiceProperties) MarshalJSON

func (dsp DomainServiceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DomainServiceProperties.

type DomainServicesClient

DomainServicesClient is the the AAD Domain Services API.

type DomainServicesClient struct {
    BaseClient
}

func NewDomainServicesClient

func NewDomainServicesClient(subscriptionID string) DomainServicesClient

NewDomainServicesClient creates an instance of the DomainServicesClient client.

func NewDomainServicesClientWithBaseURI

func NewDomainServicesClientWithBaseURI(baseURI string, subscriptionID string) DomainServicesClient

NewDomainServicesClientWithBaseURI creates an instance of the DomainServicesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DomainServicesClient) CreateOrUpdate

func (client DomainServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, domainServiceName string, domainService DomainService) (result DomainServicesCreateOrUpdateFuture, err error)

CreateOrUpdate the Create Domain Service operation creates a new domain service with the specified parameters. If the specific service already exists, then any patchable properties will be updated and any immutable properties will remain unchanged. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName - the name of the domain service. domainService - properties supplied to the Create or Update a Domain Service operation.

func (DomainServicesClient) CreateOrUpdatePreparer

func (client DomainServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, domainServiceName string, domainService DomainService) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DomainServicesClient) CreateOrUpdateResponder

func (client DomainServicesClient) CreateOrUpdateResponder(resp *http.Response) (result DomainService, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DomainServicesClient) CreateOrUpdateSender

func (client DomainServicesClient) CreateOrUpdateSender(req *http.Request) (future DomainServicesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DomainServicesClient) Delete

func (client DomainServicesClient) Delete(ctx context.Context, resourceGroupName string, domainServiceName string) (result DomainServicesDeleteFuture, err error)

Delete the Delete Domain Service operation deletes an existing Domain Service. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName - the name of the domain service.

func (DomainServicesClient) DeletePreparer

func (client DomainServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, domainServiceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DomainServicesClient) DeleteResponder

func (client DomainServicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DomainServicesClient) DeleteSender

func (client DomainServicesClient) DeleteSender(req *http.Request) (future DomainServicesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DomainServicesClient) Get

func (client DomainServicesClient) Get(ctx context.Context, resourceGroupName string, domainServiceName string) (result DomainService, err error)

Get the Get Domain Service operation retrieves a json representation of the Domain Service. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName - the name of the domain service.

func (DomainServicesClient) GetPreparer

func (client DomainServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, domainServiceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DomainServicesClient) GetResponder

func (client DomainServicesClient) GetResponder(resp *http.Response) (result DomainService, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DomainServicesClient) GetSender

func (client DomainServicesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DomainServicesClient) List

func (client DomainServicesClient) List(ctx context.Context) (result DomainServiceListResultPage, err error)

List the List Domain Services in Subscription operation lists all the domain services available under the given subscription (and across all resource groups within that subscription).

func (DomainServicesClient) ListByResourceGroup

func (client DomainServicesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DomainServiceListResultPage, err error)

ListByResourceGroup the List Domain Services in Resource Group operation lists all the domain services available under the given resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive.

func (DomainServicesClient) ListByResourceGroupComplete

func (client DomainServicesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DomainServiceListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (DomainServicesClient) ListByResourceGroupPreparer

func (client DomainServicesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DomainServicesClient) ListByResourceGroupResponder

func (client DomainServicesClient) ListByResourceGroupResponder(resp *http.Response) (result DomainServiceListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (DomainServicesClient) ListByResourceGroupSender

func (client DomainServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (DomainServicesClient) ListComplete

func (client DomainServicesClient) ListComplete(ctx context.Context) (result DomainServiceListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DomainServicesClient) ListPreparer

func (client DomainServicesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (DomainServicesClient) ListResponder

func (client DomainServicesClient) ListResponder(resp *http.Response) (result DomainServiceListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DomainServicesClient) ListSender

func (client DomainServicesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (DomainServicesClient) Update

func (client DomainServicesClient) Update(ctx context.Context, resourceGroupName string, domainServiceName string, domainService DomainService) (result DomainServicesUpdateFuture, err error)

Update the Update Domain Service operation can be used to update the existing deployment. The update call only supports the properties listed in the PATCH body. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName - the name of the domain service. domainService - properties supplied to the Update a Domain Service operation.

func (DomainServicesClient) UpdatePreparer

func (client DomainServicesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, domainServiceName string, domainService DomainService) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DomainServicesClient) UpdateResponder

func (client DomainServicesClient) UpdateResponder(resp *http.Response) (result DomainService, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (DomainServicesClient) UpdateSender

func (client DomainServicesClient) UpdateSender(req *http.Request) (future DomainServicesUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type DomainServicesCreateOrUpdateFuture

DomainServicesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DomainServicesCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DomainServicesClient) (DomainService, error)
}

func (*DomainServicesCreateOrUpdateFuture) UnmarshalJSON

func (future *DomainServicesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DomainServicesDeleteFuture

DomainServicesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DomainServicesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DomainServicesClient) (autorest.Response, error)
}

func (*DomainServicesDeleteFuture) UnmarshalJSON

func (future *DomainServicesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DomainServicesUpdateFuture

DomainServicesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DomainServicesUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DomainServicesClient) (DomainService, error)
}

func (*DomainServicesUpdateFuture) UnmarshalJSON

func (future *DomainServicesUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ExternalAccess

ExternalAccess enumerates the values for external access.

type ExternalAccess string
const (
    // Disabled ...
    Disabled ExternalAccess = "Disabled"
    // Enabled ...
    Enabled ExternalAccess = "Enabled"
)

func PossibleExternalAccessValues

func PossibleExternalAccessValues() []ExternalAccess

PossibleExternalAccessValues returns an array of possible values for the ExternalAccess const type.

type FilteredSync

FilteredSync enumerates the values for filtered sync.

type FilteredSync string
const (
    // FilteredSyncDisabled ...
    FilteredSyncDisabled FilteredSync = "Disabled"
    // FilteredSyncEnabled ...
    FilteredSyncEnabled FilteredSync = "Enabled"
)

func PossibleFilteredSyncValues

func PossibleFilteredSyncValues() []FilteredSync

PossibleFilteredSyncValues returns an array of possible values for the FilteredSync const type.

type ForestTrust

ForestTrust forest Trust Setting

type ForestTrust struct {
    // TrustedDomainFqdn - Trusted Domain FQDN
    TrustedDomainFqdn *string `json:"trustedDomainFqdn,omitempty"`
    // TrustDirection - Trust Direction
    TrustDirection *string `json:"trustDirection,omitempty"`
    // FriendlyName - Friendly Name
    FriendlyName *string `json:"friendlyName,omitempty"`
    // RemoteDNSIps - Remote Dns ips
    RemoteDNSIps *string `json:"remoteDnsIps,omitempty"`
    // TrustPassword - Trust Password
    TrustPassword *string `json:"trustPassword,omitempty"`
}

type HealthAlert

HealthAlert health Alert Description

type HealthAlert struct {
    // ID - READ-ONLY; Health Alert Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Health Alert Name
    Name *string `json:"name,omitempty"`
    // Issue - READ-ONLY; Health Alert Issue
    Issue *string `json:"issue,omitempty"`
    // Severity - READ-ONLY; Health Alert Severity
    Severity *string `json:"severity,omitempty"`
    // Raised - READ-ONLY; Health Alert Raised DateTime
    Raised *date.Time `json:"raised,omitempty"`
    // LastDetected - READ-ONLY; Health Alert Last Detected DateTime
    LastDetected *date.Time `json:"lastDetected,omitempty"`
    // ResolutionURI - READ-ONLY; Health Alert TSG Link
    ResolutionURI *string `json:"resolutionUri,omitempty"`
}

func (HealthAlert) MarshalJSON

func (ha HealthAlert) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HealthAlert.

type HealthMonitor

HealthMonitor health Monitor Description

type HealthMonitor struct {
    // ID - READ-ONLY; Health Monitor Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Health Monitor Name
    Name *string `json:"name,omitempty"`
    // Details - READ-ONLY; Health Monitor Details
    Details *string `json:"details,omitempty"`
}

func (HealthMonitor) MarshalJSON

func (hm HealthMonitor) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HealthMonitor.

type Ldaps

Ldaps enumerates the values for ldaps.

type Ldaps string
const (
    // LdapsDisabled ...
    LdapsDisabled Ldaps = "Disabled"
    // LdapsEnabled ...
    LdapsEnabled Ldaps = "Enabled"
)

func PossibleLdapsValues

func PossibleLdapsValues() []Ldaps

PossibleLdapsValues returns an array of possible values for the Ldaps const type.

type LdapsSettings

LdapsSettings secure LDAP Settings

type LdapsSettings struct {
    // Ldaps - A flag to determine whether or not Secure LDAP is enabled or disabled. Possible values include: 'LdapsEnabled', 'LdapsDisabled'
    Ldaps Ldaps `json:"ldaps,omitempty"`
    // PfxCertificate - The certificate required to configure Secure LDAP. The parameter passed here should be a base64encoded representation of the certificate pfx file.
    PfxCertificate *string `json:"pfxCertificate,omitempty"`
    // PfxCertificatePassword - The password to decrypt the provided Secure LDAP certificate pfx file.
    PfxCertificatePassword *string `json:"pfxCertificatePassword,omitempty"`
    // PublicCertificate - READ-ONLY; Public certificate used to configure secure ldap.
    PublicCertificate *string `json:"publicCertificate,omitempty"`
    // CertificateThumbprint - READ-ONLY; Thumbprint of configure ldaps certificate.
    CertificateThumbprint *string `json:"certificateThumbprint,omitempty"`
    // CertificateNotAfter - READ-ONLY; NotAfter DateTime of configure ldaps certificate.
    CertificateNotAfter *date.Time `json:"certificateNotAfter,omitempty"`
    // ExternalAccess - A flag to determine whether or not Secure LDAP access over the internet is enabled or disabled. Possible values include: 'Enabled', 'Disabled'
    ExternalAccess ExternalAccess `json:"externalAccess,omitempty"`
}

func (LdapsSettings) MarshalJSON

func (ls LdapsSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LdapsSettings.

type NotificationSettings

NotificationSettings settings for notification

type NotificationSettings struct {
    // NotifyGlobalAdmins - Should global admins be notified. Possible values include: 'NotifyGlobalAdminsEnabled', 'NotifyGlobalAdminsDisabled'
    NotifyGlobalAdmins NotifyGlobalAdmins `json:"notifyGlobalAdmins,omitempty"`
    // NotifyDcAdmins - Should domain controller admins be notified. Possible values include: 'NotifyDcAdminsEnabled', 'NotifyDcAdminsDisabled'
    NotifyDcAdmins NotifyDcAdmins `json:"notifyDcAdmins,omitempty"`
    // AdditionalRecipients - The list of additional recipients
    AdditionalRecipients *[]string `json:"additionalRecipients,omitempty"`
}

type NotifyDcAdmins

NotifyDcAdmins enumerates the values for notify dc admins.

type NotifyDcAdmins string
const (
    // NotifyDcAdminsDisabled ...
    NotifyDcAdminsDisabled NotifyDcAdmins = "Disabled"
    // NotifyDcAdminsEnabled ...
    NotifyDcAdminsEnabled NotifyDcAdmins = "Enabled"
)

func PossibleNotifyDcAdminsValues

func PossibleNotifyDcAdminsValues() []NotifyDcAdmins

PossibleNotifyDcAdminsValues returns an array of possible values for the NotifyDcAdmins const type.

type NotifyGlobalAdmins

NotifyGlobalAdmins enumerates the values for notify global admins.

type NotifyGlobalAdmins string
const (
    // NotifyGlobalAdminsDisabled ...
    NotifyGlobalAdminsDisabled NotifyGlobalAdmins = "Disabled"
    // NotifyGlobalAdminsEnabled ...
    NotifyGlobalAdminsEnabled NotifyGlobalAdmins = "Enabled"
)

func PossibleNotifyGlobalAdminsValues

func PossibleNotifyGlobalAdminsValues() []NotifyGlobalAdmins

PossibleNotifyGlobalAdminsValues returns an array of possible values for the NotifyGlobalAdmins const type.

type NtlmV1

NtlmV1 enumerates the values for ntlm v1.

type NtlmV1 string
const (
    // NtlmV1Disabled ...
    NtlmV1Disabled NtlmV1 = "Disabled"
    // NtlmV1Enabled ...
    NtlmV1Enabled NtlmV1 = "Enabled"
)

func PossibleNtlmV1Values

func PossibleNtlmV1Values() []NtlmV1

PossibleNtlmV1Values returns an array of possible values for the NtlmV1 const type.

type OperationDisplayInfo

OperationDisplayInfo the operation supported by Domain Services.

type OperationDisplayInfo struct {
    // Description - The description of the operation.
    Description *string `json:"description,omitempty"`
    // Operation - The action that users can perform, based on their permission level.
    Operation *string `json:"operation,omitempty"`
    // Provider - Service provider: Domain Services.
    Provider *string `json:"provider,omitempty"`
    // Resource - Resource on which the operation is performed.
    Resource *string `json:"resource,omitempty"`
}

type OperationEntity

OperationEntity the operation supported by Domain Services.

type OperationEntity struct {
    // Name - Operation name: {provider}/{resource}/{operation}.
    Name *string `json:"name,omitempty"`
    // Display - The operation supported by Domain Services.
    Display *OperationDisplayInfo `json:"display,omitempty"`
    // Origin - The origin of the operation.
    Origin *string `json:"origin,omitempty"`
}

type OperationEntityListResult

OperationEntityListResult the list of domain service operation response.

type OperationEntityListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of operations.
    Value *[]OperationEntity `json:"value,omitempty"`
    // NextLink - READ-ONLY; The continuation token for the next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (OperationEntityListResult) IsEmpty

func (oelr OperationEntityListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (OperationEntityListResult) MarshalJSON

func (oelr OperationEntityListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationEntityListResult.

type OperationEntityListResultIterator

OperationEntityListResultIterator provides access to a complete listing of OperationEntity values.

type OperationEntityListResultIterator struct {
    // contains filtered or unexported fields
}

func NewOperationEntityListResultIterator

func NewOperationEntityListResultIterator(page OperationEntityListResultPage) OperationEntityListResultIterator

Creates a new instance of the OperationEntityListResultIterator type.

func (*OperationEntityListResultIterator) Next

func (iter *OperationEntityListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationEntityListResultIterator) NextWithContext

func (iter *OperationEntityListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationEntityListResultIterator) NotDone

func (iter OperationEntityListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationEntityListResultIterator) Response

func (iter OperationEntityListResultIterator) Response() OperationEntityListResult

Response returns the raw server response from the last page request.

func (OperationEntityListResultIterator) Value

func (iter OperationEntityListResultIterator) Value() OperationEntity

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationEntityListResultPage

OperationEntityListResultPage contains a page of OperationEntity values.

type OperationEntityListResultPage struct {
    // contains filtered or unexported fields
}

func NewOperationEntityListResultPage

func NewOperationEntityListResultPage(cur OperationEntityListResult, getNextPage func(context.Context, OperationEntityListResult) (OperationEntityListResult, error)) OperationEntityListResultPage

Creates a new instance of the OperationEntityListResultPage type.

func (*OperationEntityListResultPage) Next

func (page *OperationEntityListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationEntityListResultPage) NextWithContext

func (page *OperationEntityListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationEntityListResultPage) NotDone

func (page OperationEntityListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationEntityListResultPage) Response

func (page OperationEntityListResultPage) Response() OperationEntityListResult

Response returns the raw server response from the last page request.

func (OperationEntityListResultPage) Values

func (page OperationEntityListResultPage) Values() []OperationEntity

Values returns the slice of values for the current page or nil if there are no values.

type OuContainer

OuContainer resource for OuContainer.

type OuContainer struct {
    autorest.Response `json:"-"`
    // OuContainerProperties - OuContainer properties
    *OuContainerProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // Etag - Resource etag
    Etag *string `json:"etag,omitempty"`
}

func (OuContainer) MarshalJSON

func (oc OuContainer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OuContainer.

func (*OuContainer) UnmarshalJSON

func (oc *OuContainer) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for OuContainer struct.

type OuContainerClient

OuContainerClient is the the AAD Domain Services API.

type OuContainerClient struct {
    BaseClient
}

func NewOuContainerClient

func NewOuContainerClient(subscriptionID string) OuContainerClient

NewOuContainerClient creates an instance of the OuContainerClient client.

func NewOuContainerClientWithBaseURI

func NewOuContainerClientWithBaseURI(baseURI string, subscriptionID string) OuContainerClient

NewOuContainerClientWithBaseURI creates an instance of the OuContainerClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OuContainerClient) Create

func (client OuContainerClient) Create(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string, containerAccount ContainerAccount) (result OuContainerCreateFuture, err error)

Create the Create OuContainer operation creates a new OuContainer under the specified Domain Service instance. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName - the name of the domain service. ouContainerName - the name of the OuContainer. containerAccount - container Account Description.

func (OuContainerClient) CreatePreparer

func (client OuContainerClient) CreatePreparer(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string, containerAccount ContainerAccount) (*http.Request, error)

CreatePreparer prepares the Create request.

func (OuContainerClient) CreateResponder

func (client OuContainerClient) CreateResponder(resp *http.Response) (result OuContainer, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (OuContainerClient) CreateSender

func (client OuContainerClient) CreateSender(req *http.Request) (future OuContainerCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (OuContainerClient) Delete

func (client OuContainerClient) Delete(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string) (result OuContainerDeleteFuture, err error)

Delete the Delete OuContainer operation deletes specified OuContainer. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName - the name of the domain service. ouContainerName - the name of the OuContainer.

func (OuContainerClient) DeletePreparer

func (client OuContainerClient) DeletePreparer(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (OuContainerClient) DeleteResponder

func (client OuContainerClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (OuContainerClient) DeleteSender

func (client OuContainerClient) DeleteSender(req *http.Request) (future OuContainerDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (OuContainerClient) Get

func (client OuContainerClient) Get(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string) (result OuContainer, err error)

Get get OuContainer in DomainService instance. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName - the name of the domain service. ouContainerName - the name of the OuContainer.

func (OuContainerClient) GetPreparer

func (client OuContainerClient) GetPreparer(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (OuContainerClient) GetResponder

func (client OuContainerClient) GetResponder(resp *http.Response) (result OuContainer, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (OuContainerClient) GetSender

func (client OuContainerClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (OuContainerClient) List

func (client OuContainerClient) List(ctx context.Context, resourceGroupName string, domainServiceName string) (result OuContainerListResultPage, err error)

List the List of OuContainers in DomainService instance. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName - the name of the domain service.

func (OuContainerClient) ListComplete

func (client OuContainerClient) ListComplete(ctx context.Context, resourceGroupName string, domainServiceName string) (result OuContainerListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OuContainerClient) ListPreparer

func (client OuContainerClient) ListPreparer(ctx context.Context, resourceGroupName string, domainServiceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (OuContainerClient) ListResponder

func (client OuContainerClient) ListResponder(resp *http.Response) (result OuContainerListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OuContainerClient) ListSender

func (client OuContainerClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (OuContainerClient) Update

func (client OuContainerClient) Update(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string, containerAccount ContainerAccount) (result OuContainerUpdateFuture, err error)

Update the Update OuContainer operation can be used to update the existing OuContainers. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName - the name of the domain service. ouContainerName - the name of the OuContainer. containerAccount - container Account Description.

func (OuContainerClient) UpdatePreparer

func (client OuContainerClient) UpdatePreparer(ctx context.Context, resourceGroupName string, domainServiceName string, ouContainerName string, containerAccount ContainerAccount) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (OuContainerClient) UpdateResponder

func (client OuContainerClient) UpdateResponder(resp *http.Response) (result OuContainer, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (OuContainerClient) UpdateSender

func (client OuContainerClient) UpdateSender(req *http.Request) (future OuContainerUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type OuContainerCreateFuture

OuContainerCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type OuContainerCreateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(OuContainerClient) (OuContainer, error)
}

func (*OuContainerCreateFuture) UnmarshalJSON

func (future *OuContainerCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type OuContainerDeleteFuture

OuContainerDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type OuContainerDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(OuContainerClient) (autorest.Response, error)
}

func (*OuContainerDeleteFuture) UnmarshalJSON

func (future *OuContainerDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type OuContainerListResult

OuContainerListResult the response from the List OuContainer operation.

type OuContainerListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of OuContainer.
    Value *[]OuContainer `json:"value,omitempty"`
    // NextLink - READ-ONLY; The continuation token for the next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (OuContainerListResult) IsEmpty

func (oclr OuContainerListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (OuContainerListResult) MarshalJSON

func (oclr OuContainerListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OuContainerListResult.

type OuContainerListResultIterator

OuContainerListResultIterator provides access to a complete listing of OuContainer values.

type OuContainerListResultIterator struct {
    // contains filtered or unexported fields
}

func NewOuContainerListResultIterator

func NewOuContainerListResultIterator(page OuContainerListResultPage) OuContainerListResultIterator

Creates a new instance of the OuContainerListResultIterator type.

func (*OuContainerListResultIterator) Next

func (iter *OuContainerListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OuContainerListResultIterator) NextWithContext

func (iter *OuContainerListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OuContainerListResultIterator) NotDone

func (iter OuContainerListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OuContainerListResultIterator) Response

func (iter OuContainerListResultIterator) Response() OuContainerListResult

Response returns the raw server response from the last page request.

func (OuContainerListResultIterator) Value

func (iter OuContainerListResultIterator) Value() OuContainer

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OuContainerListResultPage

OuContainerListResultPage contains a page of OuContainer values.

type OuContainerListResultPage struct {
    // contains filtered or unexported fields
}

func NewOuContainerListResultPage

func NewOuContainerListResultPage(cur OuContainerListResult, getNextPage func(context.Context, OuContainerListResult) (OuContainerListResult, error)) OuContainerListResultPage

Creates a new instance of the OuContainerListResultPage type.

func (*OuContainerListResultPage) Next

func (page *OuContainerListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OuContainerListResultPage) NextWithContext

func (page *OuContainerListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OuContainerListResultPage) NotDone

func (page OuContainerListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OuContainerListResultPage) Response

func (page OuContainerListResultPage) Response() OuContainerListResult

Response returns the raw server response from the last page request.

func (OuContainerListResultPage) Values

func (page OuContainerListResultPage) Values() []OuContainer

Values returns the slice of values for the current page or nil if there are no values.

type OuContainerOperationsClient

OuContainerOperationsClient is the the AAD Domain Services API.

type OuContainerOperationsClient struct {
    BaseClient
}

func NewOuContainerOperationsClient

func NewOuContainerOperationsClient(subscriptionID string) OuContainerOperationsClient

NewOuContainerOperationsClient creates an instance of the OuContainerOperationsClient client.

func NewOuContainerOperationsClientWithBaseURI

func NewOuContainerOperationsClientWithBaseURI(baseURI string, subscriptionID string) OuContainerOperationsClient

NewOuContainerOperationsClientWithBaseURI creates an instance of the OuContainerOperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OuContainerOperationsClient) List

func (client OuContainerOperationsClient) List(ctx context.Context) (result OperationEntityListResultPage, err error)

List lists all the available OuContainer operations.

func (OuContainerOperationsClient) ListComplete

func (client OuContainerOperationsClient) ListComplete(ctx context.Context) (result OperationEntityListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OuContainerOperationsClient) ListPreparer

func (client OuContainerOperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OuContainerOperationsClient) ListResponder

func (client OuContainerOperationsClient) ListResponder(resp *http.Response) (result OperationEntityListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OuContainerOperationsClient) ListSender

func (client OuContainerOperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type OuContainerProperties

OuContainerProperties properties of the OuContainer.

type OuContainerProperties struct {
    // TenantID - READ-ONLY; Azure Active Directory tenant id
    TenantID *string `json:"tenantId,omitempty"`
    // DomainName - READ-ONLY; The domain name of Domain Services.
    DomainName *string `json:"domainName,omitempty"`
    // DeploymentID - READ-ONLY; The Deployment id
    DeploymentID *string `json:"deploymentId,omitempty"`
    // ContainerID - READ-ONLY; The OuContainer name
    ContainerID *string `json:"containerId,omitempty"`
    // Accounts - The list of container accounts
    Accounts *[]ContainerAccount `json:"accounts,omitempty"`
    // ServiceStatus - READ-ONLY; Status of OuContainer instance
    ServiceStatus *string `json:"serviceStatus,omitempty"`
    // DistinguishedName - READ-ONLY; Distinguished Name of OuContainer instance
    DistinguishedName *string `json:"distinguishedName,omitempty"`
    // ProvisioningState - READ-ONLY; The current deployment or provisioning state, which only appears in the response.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

func (OuContainerProperties) MarshalJSON

func (ocp OuContainerProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OuContainerProperties.

type OuContainerUpdateFuture

OuContainerUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type OuContainerUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(OuContainerClient) (OuContainer, error)
}

func (*OuContainerUpdateFuture) UnmarshalJSON

func (future *OuContainerUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicaSet

ReplicaSet replica Set Definition

type ReplicaSet struct {
    // ReplicaSetID - READ-ONLY; ReplicaSet Id
    ReplicaSetID *string `json:"replicaSetId,omitempty"`
    // Location - Virtual network location
    Location *string `json:"location,omitempty"`
    // VnetSiteID - READ-ONLY; Virtual network site id
    VnetSiteID *string `json:"vnetSiteId,omitempty"`
    // SubnetID - The name of the virtual network that Domain Services will be deployed on. The id of the subnet that Domain Services will be deployed on. /virtualNetwork/vnetName/subnets/subnetName.
    SubnetID *string `json:"subnetId,omitempty"`
    // DomainControllerIPAddress - READ-ONLY; List of Domain Controller IP Address
    DomainControllerIPAddress *[]string `json:"domainControllerIpAddress,omitempty"`
    // ExternalAccessIPAddress - READ-ONLY; External access ip address.
    ExternalAccessIPAddress *string `json:"externalAccessIpAddress,omitempty"`
    // ServiceStatus - READ-ONLY; Status of Domain Service instance
    ServiceStatus *string `json:"serviceStatus,omitempty"`
    // HealthLastEvaluated - READ-ONLY; Last domain evaluation run DateTime
    HealthLastEvaluated *date.TimeRFC1123 `json:"healthLastEvaluated,omitempty"`
    // HealthMonitors - READ-ONLY; List of Domain Health Monitors
    HealthMonitors *[]HealthMonitor `json:"healthMonitors,omitempty"`
    // HealthAlerts - READ-ONLY; List of Domain Health Alerts
    HealthAlerts *[]HealthAlert `json:"healthAlerts,omitempty"`
}

func (ReplicaSet) MarshalJSON

func (rs ReplicaSet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReplicaSet.

type Resource

Resource the Resource model definition.

type Resource struct {
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // Etag - Resource etag
    Etag *string `json:"etag,omitempty"`
}

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceForestSettings

ResourceForestSettings settings for Resource Forest

type ResourceForestSettings struct {
    // Settings - List of settings for Resource Forest
    Settings *[]ForestTrust `json:"settings,omitempty"`
    // ResourceForest - Resource Forest
    ResourceForest *string `json:"resourceForest,omitempty"`
}

type SyncKerberosPasswords

SyncKerberosPasswords enumerates the values for sync kerberos passwords.

type SyncKerberosPasswords string
const (
    // SyncKerberosPasswordsDisabled ...
    SyncKerberosPasswordsDisabled SyncKerberosPasswords = "Disabled"
    // SyncKerberosPasswordsEnabled ...
    SyncKerberosPasswordsEnabled SyncKerberosPasswords = "Enabled"
)

func PossibleSyncKerberosPasswordsValues

func PossibleSyncKerberosPasswordsValues() []SyncKerberosPasswords

PossibleSyncKerberosPasswordsValues returns an array of possible values for the SyncKerberosPasswords const type.

type SyncNtlmPasswords

SyncNtlmPasswords enumerates the values for sync ntlm passwords.

type SyncNtlmPasswords string
const (
    // SyncNtlmPasswordsDisabled ...
    SyncNtlmPasswordsDisabled SyncNtlmPasswords = "Disabled"
    // SyncNtlmPasswordsEnabled ...
    SyncNtlmPasswordsEnabled SyncNtlmPasswords = "Enabled"
)

func PossibleSyncNtlmPasswordsValues

func PossibleSyncNtlmPasswordsValues() []SyncNtlmPasswords

PossibleSyncNtlmPasswordsValues returns an array of possible values for the SyncNtlmPasswords const type.

type SyncOnPremPasswords

SyncOnPremPasswords enumerates the values for sync on prem passwords.

type SyncOnPremPasswords string
const (
    // SyncOnPremPasswordsDisabled ...
    SyncOnPremPasswordsDisabled SyncOnPremPasswords = "Disabled"
    // SyncOnPremPasswordsEnabled ...
    SyncOnPremPasswordsEnabled SyncOnPremPasswords = "Enabled"
)

func PossibleSyncOnPremPasswordsValues

func PossibleSyncOnPremPasswordsValues() []SyncOnPremPasswords

PossibleSyncOnPremPasswordsValues returns an array of possible values for the SyncOnPremPasswords const type.

type TLSV1

TLSV1 enumerates the values for tlsv1.

type TLSV1 string
const (
    // TLSV1Disabled ...
    TLSV1Disabled TLSV1 = "Disabled"
    // TLSV1Enabled ...
    TLSV1Enabled TLSV1 = "Enabled"
)

func PossibleTLSV1Values

func PossibleTLSV1Values() []TLSV1

PossibleTLSV1Values returns an array of possible values for the TLSV1 const type.

Subdirectories

Name Synopsis
..
aadapi Deprecated: Please note, this package has been deprecated.