Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding zones, example and renaming IP to Ip in cloudservices swagger #21232

Merged
merged 5 commits into from
Nov 22, 2022
Merged
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 @@ -703,6 +703,9 @@
},
"Create New Cloud Service with Single Role and Certificate from Key Vault": {
"$ref": "./examples/CloudService_Create_WithSingleRoleAndCertificate.json"
},
"Create New Cloud Service with Multiple Roles in a specific availability zone": {
"$ref": "./examples//CloudService_Create_WithMultiRole_WithZones.json"
}
}
},
Expand Down Expand Up @@ -2050,7 +2053,7 @@
}
}
},
"LoadBalancerFrontendIPConfigurationProperties": {
"LoadBalancerFrontendIpConfigurationProperties": {
"description": "Describes a cloud service IP Configuration",
"type": "object",
"properties": {
Expand All @@ -2068,7 +2071,7 @@
}
}
},
"LoadBalancerFrontendIPConfiguration": {
"LoadBalancerFrontendIpConfiguration": {
"description": "Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.",
"type": "object",
"properties": {
Expand All @@ -2077,7 +2080,7 @@
"type": "string"
},
"properties": {
"$ref": "#/definitions/LoadBalancerFrontendIPConfigurationProperties",
"$ref": "#/definitions/LoadBalancerFrontendIpConfigurationProperties",
"description": "Properties of load balancer frontend ip configuration."
}
},
Expand All @@ -2090,19 +2093,19 @@
"description": "Describes the properties of the load balancer configuration.",
"type": "object",
"properties": {
"frontendIPConfigurations": {
"frontendIpConfigurations": {
"description": "Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.",
"type": "array",
"items": {
"$ref": "#/definitions/LoadBalancerFrontendIPConfiguration"
"$ref": "#/definitions/LoadBalancerFrontendIpConfiguration"
},
"x-ms-identifiers": [
"name"
]
}
},
"required": [
"frontendIPConfigurations"
"frontendIpConfigurations"
]
},
"LoadBalancerConfiguration": {
Expand Down Expand Up @@ -2337,6 +2340,13 @@
},
"systemData": {
"$ref": "../../../common-types/v1/common.json#/definitions/SystemData"
},
"zones": {
"description": "List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.",
"type": "array",
"items": {
"type": "string"
}
}
},
"x-ms-azure-resource": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"location": "https://foo.com/operationstatus"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
},
"responses": {
"200": {},
"202": {}
"202": {
"headers": {
"location": "https://foo.com/operationstatus"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
},
"responses": {
"200": {},
"202": {}
"202": {
"headers": {
"location": "https://foo.com/operationstatus"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
},
"responses": {
"200": {},
"202": {}
"202": {
"headers": {
"location": "https://foo.com/operationstatus"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
},
"responses": {
"200": {},
"202": {}
"202": {
"headers": {
"location": "https://foo.com/operationstatus"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
},
"responses": {
"200": {},
"202": {}
"202": {
"headers": {
"location": "https://foo.com/operationstatus"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
},
"responses": {
"200": {},
"202": {}
"202": {
"headers": {
"location": "https://foo.com/operationstatus"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
},
"responses": {
"200": {},
"202": {}
"202": {
"headers": {
"location": "https://foo.com/operationstatus"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
},
"responses": {
"200": {},
"202": {}
"202": {
"headers": {
"location": "https://foo.com/operationstatus"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"loadBalancerConfigurations": [
{
"properties": {
"frontendIPConfigurations": [
"frontendIpConfigurations": [
{
"properties": {
"publicIPAddress": {
Expand Down Expand Up @@ -91,7 +91,7 @@
{
"name": "contosolb",
"properties": {
"frontendIPConfigurations": [
"frontendIpConfigurations": [
{
"name": "contosofe",
"properties": {
Expand All @@ -115,6 +115,9 @@
}
},
"201": {
"headers": {
"location": "https://foo.com/operationstatus"
},
"body": {
"name": "{cs-name}",
"id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Compute/cloudServices/{cs-name}",
Expand Down Expand Up @@ -152,7 +155,7 @@
{
"name": "contosolb",
"properties": {
"frontendIPConfigurations": [
"frontendIpConfigurations": [
{
"name": "contosofe",
"properties": {
Expand Down
Loading