Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 16 additions & 10 deletions sdk/domainservices/arm-domainservices/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
# Release History

## 4.2.0 (2023-02-06)

**Features**

## 4.1.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Type Alias ChannelBinding
- Added Type Alias LdapSigning
- Added Type Alias SyncScope
- Interface DomainSecuritySettings has a new optional parameter channelBinding
- Interface DomainSecuritySettings has a new optional parameter ldapSigning
- Interface DomainService has a new optional parameter syncApplicationId
- Interface DomainService has a new optional parameter syncScope
- Added Enum KnownChannelBinding
- Added Enum KnownLdapSigning
- Added Enum KnownSyncScope


## 4.1.0 (2022-11-22)

**Features**
Expand Down
2 changes: 1 addition & 1 deletion sdk/domainservices/arm-domainservices/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2022 Microsoft
Copyright (c) 2023 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 5 additions & 5 deletions sdk/domainservices/arm-domainservices/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "1f1d5b0b9ce6cc94605b2fd619dce374fb6e033a",
"readme": "specification\\domainservices\\resource-manager\\readme.md",
"autorest_command": "autorest --version=3.8.4 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\domainservices\\resource-manager\\readme.md --use=@autorest/[email protected].3.20221108.1 --generate-sample=true",
"commit": "1026d7aa889226e65069aec8219739655d7d7391",
"readme": "specification/domainservices/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/domainservices/resource-manager/readme.md --use=@autorest/[email protected].5",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.2",
"use": "@autorest/[email protected].3.20221108.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
"use": "@autorest/[email protected].5"
}
14 changes: 3 additions & 11 deletions sdk/domainservices/arm-domainservices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for DomainServicesResourceProvider.",
"version": "4.1.1",
"version": "4.2.0",
"engines": {
"node": ">=14.0.0"
},
Expand Down Expand Up @@ -110,13 +110,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-domainservices?view=azure-node-preview"
}
}
"autoPublish": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ import { PagedAsyncIterableIterator } from '@azure/core-paging';
import { PollerLike } from '@azure/core-lro';
import { PollOperationState } from '@azure/core-lro';

// @public
export type ChannelBinding = string;

// @public
export interface CloudError {
error?: CloudErrorBody;
Expand Down Expand Up @@ -55,8 +58,10 @@ export type CreatedByType = string;

// @public
export interface DomainSecuritySettings {
channelBinding?: ChannelBinding;
kerberosArmoring?: KerberosArmoring;
kerberosRc4Encryption?: KerberosRc4Encryption;
ldapSigning?: LdapSigning;
ntlmV1?: NtlmV1;
syncKerberosPasswords?: SyncKerberosPasswords;
syncNtlmPasswords?: SyncNtlmPasswords;
Expand All @@ -79,7 +84,9 @@ export interface DomainService extends Resource {
replicaSets?: ReplicaSet[];
resourceForestSettings?: ResourceForestSettings;
sku?: string;
readonly syncApplicationId?: string;
readonly syncOwner?: string;
syncScope?: SyncScope;
readonly tenantId?: string;
readonly version?: number;
}
Expand Down Expand Up @@ -249,6 +256,12 @@ export type KerberosArmoring = string;
// @public
export type KerberosRc4Encryption = string;

// @public
export enum KnownChannelBinding {
Disabled = "Disabled",
Enabled = "Enabled"
}

// @public
export enum KnownCreatedByType {
Application = "Application",
Expand Down Expand Up @@ -287,6 +300,12 @@ export enum KnownLdaps {
Enabled = "Enabled"
}

// @public
export enum KnownLdapSigning {
Disabled = "Disabled",
Enabled = "Enabled"
}

// @public
export enum KnownNotifyDcAdmins {
Disabled = "Disabled",
Expand Down Expand Up @@ -333,6 +352,12 @@ export enum KnownSyncOnPremPasswords {
Enabled = "Enabled"
}

// @public
export enum KnownSyncScope {
All = "All",
CloudOnly = "CloudOnly"
}

// @public
export enum KnownTlsV1 {
Disabled = "Disabled",
Expand All @@ -342,6 +367,9 @@ export enum KnownTlsV1 {
// @public
export type Ldaps = string;

// @public
export type LdapSigning = string;

// @public
export interface LdapsSettings {
readonly certificateNotAfter?: Date;
Expand Down Expand Up @@ -542,6 +570,9 @@ export type SyncNtlmPasswords = string;
// @public
export type SyncOnPremPasswords = string;

// @public
export type SyncScope = string;

// @public
export interface SystemData {
createdAt?: Date;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class DomainServicesResourceProvider extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-domainservices/4.1.1`;
const packageDetails = `azsdk-js-arm-domainservices/4.2.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down Expand Up @@ -114,7 +114,7 @@ export class DomainServicesResourceProvider extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2021-05-01";
this.apiVersion = options.apiVersion || "2022-12-01";
this.domainServiceOperations = new DomainServiceOperationsImpl(this);
this.domainServices = new DomainServicesImpl(this);
this.ouContainerOperations = new OuContainerOperationsImpl(this);
Expand Down
65 changes: 65 additions & 0 deletions sdk/domainservices/arm-domainservices/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@ export interface DomainSecuritySettings {
kerberosRc4Encryption?: KerberosRc4Encryption;
/** A flag to determine whether or not KerberosArmoring is enabled or disabled. */
kerberosArmoring?: KerberosArmoring;
/** A flag to determine whether or not LdapSigning is enabled or disabled. */
ldapSigning?: LdapSigning;
/** A flag to determine whether or not ChannelBinding is enabled or disabled. */
channelBinding?: ChannelBinding;
}

/** Settings for notification */
Expand Down Expand Up @@ -399,6 +403,11 @@ export interface DomainService extends Resource {
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly syncOwner?: string;
/**
* The unique sync application id of the Azure AD Domain Services deployment.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly syncApplicationId?: string;
/** List of ReplicaSets */
replicaSets?: ReplicaSet[];
/** Secure LDAP Settings */
Expand All @@ -413,6 +422,8 @@ export interface DomainService extends Resource {
sku?: string;
/** Enabled or Disabled flag to turn on Group-based filtered sync */
filteredSync?: FilteredSync;
/** All or CloudOnly, All users in AAD are synced to AAD DS domain or only users actively syncing in the cloud */
syncScope?: SyncScope;
/** Notification Settings */
notificationSettings?: NotificationSettings;
/**
Expand Down Expand Up @@ -632,6 +643,42 @@ export enum KnownKerberosArmoring {
*/
export type KerberosArmoring = string;

/** Known values of {@link LdapSigning} that the service accepts. */
export enum KnownLdapSigning {
/** Enabled */
Enabled = "Enabled",
/** Disabled */
Disabled = "Disabled"
}

/**
* Defines values for LdapSigning. \
* {@link KnownLdapSigning} can be used interchangeably with LdapSigning,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **Enabled** \
* **Disabled**
*/
export type LdapSigning = string;

/** Known values of {@link ChannelBinding} that the service accepts. */
export enum KnownChannelBinding {
/** Enabled */
Enabled = "Enabled",
/** Disabled */
Disabled = "Disabled"
}

/**
* Defines values for ChannelBinding. \
* {@link KnownChannelBinding} can be used interchangeably with ChannelBinding,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **Enabled** \
* **Disabled**
*/
export type ChannelBinding = string;

/** Known values of {@link FilteredSync} that the service accepts. */
export enum KnownFilteredSync {
/** Enabled */
Expand All @@ -650,6 +697,24 @@ export enum KnownFilteredSync {
*/
export type FilteredSync = string;

/** Known values of {@link SyncScope} that the service accepts. */
export enum KnownSyncScope {
/** All */
All = "All",
/** CloudOnly */
CloudOnly = "CloudOnly"
}

/**
* Defines values for SyncScope. \
* {@link KnownSyncScope} can be used interchangeably with SyncScope,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **All** \
* **CloudOnly**
*/
export type SyncScope = string;

/** Known values of {@link NotifyGlobalAdmins} that the service accepts. */
export enum KnownNotifyGlobalAdmins {
/** Enabled */
Expand Down
28 changes: 28 additions & 0 deletions sdk/domainservices/arm-domainservices/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,20 @@ export const DomainSecuritySettings: coreClient.CompositeMapper = {
type: {
name: "String"
}
},
ldapSigning: {
defaultValue: "Disabled",
serializedName: "ldapSigning",
type: {
name: "String"
}
},
channelBinding: {
defaultValue: "Disabled",
serializedName: "channelBinding",
type: {
name: "String"
}
}
}
}
Expand Down Expand Up @@ -914,6 +928,13 @@ export const DomainService: coreClient.CompositeMapper = {
name: "String"
}
},
syncApplicationId: {
serializedName: "properties.syncApplicationId",
readOnly: true,
type: {
name: "String"
}
},
replicaSets: {
serializedName: "properties.replicaSets",
type: {
Expand Down Expand Up @@ -965,6 +986,13 @@ export const DomainService: coreClient.CompositeMapper = {
name: "String"
}
},
syncScope: {
defaultValue: "All",
serializedName: "properties.syncScope",
type: {
name: "String"
}
},
notificationSettings: {
serializedName: "properties.notificationSettings",
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const $host: OperationURLParameter = {
export const apiVersion: OperationQueryParameter = {
parameterPath: "apiVersion",
mapper: {
defaultValue: "2021-05-01",
defaultValue: "2022-12-01",
isConstant: true,
serializedName: "api-version",
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.nextLink],
headerParameters: [Parameters.accept],
serializer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.nextLink,
Expand All @@ -713,7 +712,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.nextLink,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.nextLink,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [Parameters.$host, Parameters.nextLink],
headerParameters: [Parameters.accept],
serializer
Expand Down
Loading