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
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export {
HardwareProfile,
KafkaRestProperties,
LinuxOperatingSystemProfile,
NetworkSettings,
OsProfile,
ProxyResource,
QuotaInfo,
Expand Down
1 change: 1 addition & 0 deletions sdk/hdinsight/arm-hdinsight/src/models/clustersMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export {
HardwareProfile,
KafkaRestProperties,
LinuxOperatingSystemProfile,
NetworkSettings,
OsProfile,
ProxyResource,
QuotaInfo,
Expand Down
40 changes: 40 additions & 0 deletions sdk/hdinsight/arm-hdinsight/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,22 @@ export interface StorageProfile {
storageaccounts?: StorageAccount[];
}

/**
* The network settings.
*/
export interface NetworkSettings {
/**
* Specifies whether public network access is enabled for inbound and outbound, or outbound only.
* Possible values include: 'InboundAndOutbound', 'OutboundOnly'
*/
publicNetworkAccess?: PublicNetworkAccess;
/**
* The mechanism through which the cluster will have outbound access to the public network.
* Possible values include: 'PublicLoadBalancer', 'UDR'
*/
outboundOnlyPublicNetworkAccessType?: OutboundOnlyPublicNetworkAccessType;
}

/**
* The disk encryption properties
*/
Expand Down Expand Up @@ -453,6 +469,10 @@ export interface ClusterCreateProperties {
* The minimal supported tls version.
*/
minSupportedTlsVersion?: string;
/**
* The network settings.
*/
networkSettings?: NetworkSettings;
}

/**
Expand Down Expand Up @@ -644,6 +664,10 @@ export interface ClusterGetProperties {
* The minimal supported tls version.
*/
minSupportedTlsVersion?: string;
/**
* The network settings.
*/
networkSettings?: NetworkSettings;
}

/**
Expand Down Expand Up @@ -1568,6 +1592,22 @@ export type DirectoryType = 'ActiveDirectory';
*/
export type DaysOfWeek = 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday';

/**
* Defines values for PublicNetworkAccess.
* Possible values include: 'InboundAndOutbound', 'OutboundOnly'
* @readonly
* @enum {string}
*/
export type PublicNetworkAccess = 'InboundAndOutbound' | 'OutboundOnly';

/**
* Defines values for OutboundOnlyPublicNetworkAccessType.
* Possible values include: 'PublicLoadBalancer', 'UDR'
* @readonly
* @enum {string}
*/
export type OutboundOnlyPublicNetworkAccessType = 'PublicLoadBalancer' | 'UDR';

/**
* Defines values for OSType.
* Possible values include: 'Windows', 'Linux'
Expand Down
36 changes: 36 additions & 0 deletions sdk/hdinsight/arm-hdinsight/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,28 @@ export const StorageProfile: msRest.CompositeMapper = {
}
};

export const NetworkSettings: msRest.CompositeMapper = {
serializedName: "NetworkSettings",
type: {
name: "Composite",
className: "NetworkSettings",
modelProperties: {
publicNetworkAccess: {
serializedName: "publicNetworkAccess",
type: {
name: "String"
}
},
outboundOnlyPublicNetworkAccessType: {
serializedName: "outboundOnlyPublicNetworkAccessType",
type: {
name: "String"
}
}
}
}
};

export const DiskEncryptionProperties: msRest.CompositeMapper = {
serializedName: "DiskEncryptionProperties",
type: {
Expand Down Expand Up @@ -784,6 +806,13 @@ export const ClusterCreateProperties: msRest.CompositeMapper = {
type: {
name: "String"
}
},
networkSettings: {
serializedName: "networkSettings",
type: {
name: "Composite",
className: "NetworkSettings"
}
}
}
}
Expand Down Expand Up @@ -1125,6 +1154,13 @@ export const ClusterGetProperties: msRest.CompositeMapper = {
type: {
name: "String"
}
},
networkSettings: {
serializedName: "networkSettings",
type: {
name: "Composite",
className: "NetworkSettings"
}
}
}
}
Expand Down