aad

package
v11.3.0-beta+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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

The AAD Domain Services API.

Index

Constants

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

Variables

This section is empty.

Functions

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.

Types

type DomainService

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

DomainService is domain service.

type DomainServiceListResult

type DomainServiceListResult struct {
	autorest.Response `json:"-"`
	Value             *[]DomainService `json:"value,omitempty"`
}

DomainServiceListResult is the response from the List Domain Services operation.

type DomainServiceOperationsClient

type DomainServiceOperationsClient struct {
	ManagementClient
}

DomainServiceOperationsClient is the the AAD Domain Services API.

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.

func (DomainServiceOperationsClient) List

List lists all the available Domain Services operations.

func (DomainServiceOperationsClient) ListPreparer

func (client DomainServiceOperationsClient) ListPreparer() (*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 DomainServicePatchProperties

type DomainServicePatchProperties struct {
	LdapsSettings *LdapsSettings `json:"ldapsSettings,omitempty"`
}

DomainServicePatchProperties is update Properties of the Domain Service.

type DomainServiceProperties

type DomainServiceProperties struct {
	TenantID                  *string        `json:"tenantId,omitempty"`
	DomainName                *string        `json:"domainName,omitempty"`
	VnetSiteID                *string        `json:"vnetSiteId,omitempty"`
	SubnetID                  *string        `json:"subnetId,omitempty"`
	LdapsSettings             *LdapsSettings `json:"ldapsSettings,omitempty"`
	DomainControllerIPAddress *[]string      `json:"domainControllerIpAddress,omitempty"`
	ServiceStatus             *string        `json:"serviceStatus,omitempty"`
	ProvisioningState         *string        `json:"provisioningState,omitempty"`
}

DomainServiceProperties is properties of the Domain Service.

type DomainServicesClient

type DomainServicesClient struct {
	ManagementClient
}

DomainServicesClient is the the AAD Domain Services API.

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.

func (DomainServicesClient) CreateOrUpdate

func (client DomainServicesClient) CreateOrUpdate(resourceGroupName string, domainServiceName string, properties DomainServiceProperties, cancel <-chan struct{}) (<-chan DomainService, <-chan 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. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName is the name of the domain service in the specified subscription and resource group. properties is properties supplied to the Create or Update a Domain Service operation.

func (DomainServicesClient) CreateOrUpdatePreparer

func (client DomainServicesClient) CreateOrUpdatePreparer(resourceGroupName string, domainServiceName string, properties DomainServiceProperties, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, domainServiceName string, cancel <-chan struct{}) (<-chan DomainService, <-chan error)

Delete the Delete Domain Service operation deletes an existing Domain Service. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName is the name of the domain service in the specified subscription and resource group.

func (DomainServicesClient) DeletePreparer

func (client DomainServicesClient) DeletePreparer(resourceGroupName string, domainServiceName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DomainServicesClient) DeleteResponder

func (client DomainServicesClient) DeleteResponder(resp *http.Response) (result DomainService, 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) (*http.Response, 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(resourceGroupName string, domainServiceName string) (result DomainService, err error)

Get the Get Domain Service operation retrieves a json representation of the Domain Service.

resourceGroupName is the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName is the name of the domain service in the specified subscription and resource group.

func (DomainServicesClient) GetPreparer

func (client DomainServicesClient) GetPreparer(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() (result DomainServiceListResult, 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(resourceGroupName string) (result DomainServiceListResult, err error)

ListByResourceGroup the List Domain Services in Resource Group operation lists all the domain services available under the given resource group.

resourceGroupName is the name of the resource group within the user's subscription. The name is case insensitive.

func (DomainServicesClient) ListByResourceGroupPreparer

func (client DomainServicesClient) ListByResourceGroupPreparer(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) ListPreparer

func (client DomainServicesClient) ListPreparer() (*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(resourceGroupName string, domainServiceName string, properties DomainServicePatchProperties, cancel <-chan struct{}) (<-chan DomainService, <-chan 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. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group within the user's subscription. The name is case insensitive. domainServiceName is the name of the domain service in the specified subscription and resource group. properties is properties supplied to the Update a Domain Service operation.

func (DomainServicesClient) UpdatePreparer

func (client DomainServicesClient) UpdatePreparer(resourceGroupName string, domainServiceName string, properties DomainServicePatchProperties, cancel <-chan struct{}) (*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) (*http.Response, error)

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

type ExternalAccess

type ExternalAccess string

ExternalAccess enumerates the values for external access.

const (
	// Disabled specifies the disabled state for external access.
	Disabled ExternalAccess = "Disabled"
	// Enabled specifies the enabled state for external access.
	Enabled ExternalAccess = "Enabled"
)

type Ldaps

type Ldaps string

Ldaps enumerates the values for ldaps.

const (
	// LdapsDisabled specifies the ldaps disabled state for ldaps.
	LdapsDisabled Ldaps = "Disabled"
	// LdapsEnabled specifies the ldaps enabled state for ldaps.
	LdapsEnabled Ldaps = "Enabled"
)

type LdapsSettings

type LdapsSettings struct {
	Ldaps                   Ldaps          `json:"ldaps,omitempty"`
	PfxCertificate          *string        `json:"pfxCertificate,omitempty"`
	PfxCertificatePassword  *string        `json:"pfxCertificatePassword,omitempty"`
	PublicCertificate       *string        `json:"publicCertificate,omitempty"`
	CertificateThumbprint   *string        `json:"certificateThumbprint,omitempty"`
	CertificateNotAfter     *date.Time     `json:"certificateNotAfter,omitempty"`
	ExternalAccess          ExternalAccess `json:"externalAccess,omitempty"`
	ExternalAccessIPAddress *string        `json:"externalAccessIpAddress,omitempty"`
}

LdapsSettings is secure LDAP Settings

type ManagementClient

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

ManagementClient is the base client for Aad.

func New

func New(subscriptionID string) ManagementClient

New creates an instance of the ManagementClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient

NewWithBaseURI creates an instance of the ManagementClient client.

type OperationDisplayInfo

type OperationDisplayInfo struct {
	Description *string `json:"description,omitempty"`
	Operation   *string `json:"operation,omitempty"`
	Provider    *string `json:"provider,omitempty"`
	Resource    *string `json:"resource,omitempty"`
}

OperationDisplayInfo is the operation supported by Domain Services.

type OperationEntity

type OperationEntity struct {
	Name    *string               `json:"name,omitempty"`
	Display *OperationDisplayInfo `json:"display,omitempty"`
	Origin  *string               `json:"origin,omitempty"`
}

OperationEntity is the operation supported by Domain Services.

type OperationEntityListResult

type OperationEntityListResult struct {
	autorest.Response `json:"-"`
	Value             *[]OperationEntity `json:"value,omitempty"`
}

OperationEntityListResult is the list of domain service operation response.

type Resource

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

Resource is the Resource model definition.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL