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

feat: Upgrade terraform-provider-equinix to v2.9.0 #221

Closed
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
99 changes: 99 additions & 0 deletions docs/resource/equinix_fabric_connection_route_filter.examples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
## Example Usage
{{% example %}}
```typescript
import * as pulumi from "@pulumi/pulumi";

export const connectionRouteFilterId = policyAttachment.id;
export const connectionRouteFilterConnectionId = policyAttachment.connectionId;
export const connectionRouteFilterDirection = policyAttachment.direction;
export const connectionRouteFilterType = policyAttachment.type;
export const connectionRouteFilterAttachmentStatus = policyAttachment.attachmentStatus;
```
```python
import pulumi

pulumi.export("connectionRouteFilterId", policy_attachment["id"])
pulumi.export("connectionRouteFilterConnectionId", policy_attachment["connectionId"])
pulumi.export("connectionRouteFilterDirection", policy_attachment["direction"])
pulumi.export("connectionRouteFilterType", policy_attachment["type"])
pulumi.export("connectionRouteFilterAttachmentStatus", policy_attachment["attachmentStatus"])
```
```go
package main

import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ctx.Export("connectionRouteFilterId", policyAttachment.Id)
ctx.Export("connectionRouteFilterConnectionId", policyAttachment.ConnectionId)
ctx.Export("connectionRouteFilterDirection", policyAttachment.Direction)
ctx.Export("connectionRouteFilterType", policyAttachment.Type)
ctx.Export("connectionRouteFilterAttachmentStatus", policyAttachment.AttachmentStatus)
return nil
})
}
```
```csharp
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() =>
{
return new Dictionary<string, object?>
{
["connectionRouteFilterId"] = policyAttachment.Id,
["connectionRouteFilterConnectionId"] = policyAttachment.ConnectionId,
["connectionRouteFilterDirection"] = policyAttachment.Direction,
["connectionRouteFilterType"] = policyAttachment.Type,
["connectionRouteFilterAttachmentStatus"] = policyAttachment.AttachmentStatus,
};
});
```
```java
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}

public static void stack(Context ctx) {
ctx.export("connectionRouteFilterId", policyAttachment.id());
ctx.export("connectionRouteFilterConnectionId", policyAttachment.connectionId());
ctx.export("connectionRouteFilterDirection", policyAttachment.direction());
ctx.export("connectionRouteFilterType", policyAttachment.type());
ctx.export("connectionRouteFilterAttachmentStatus", policyAttachment.attachmentStatus());
}
}
```
```yaml
resources:
policyAttachment:
type: equinix:fabricConnectionRouteFilter
name: policy_attachment
properties:
connectionId: <connection_uuid>
routeFilterId: <route_filter_policy_uuid>
direction: INBOUND
outputs:
connectionRouteFilterId: ${policyAttachment.id}
connectionRouteFilterConnectionId: ${policyAttachment.connectionId}
connectionRouteFilterDirection: ${policyAttachment.direction}
connectionRouteFilterType: ${policyAttachment.type}
connectionRouteFilterAttachmentStatus: ${policyAttachment.attachmentStatus}
```
{{% /example %}}
95 changes: 95 additions & 0 deletions docs/resource/equinix_fabric_route_filter_rule.examples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
## Example Usage
{{% example %}}
```typescript
import * as pulumi from "@pulumi/pulumi";

export const routeFilterRuleId = rfRule.id;
export const routeFilterId = rfRule.routeFilterId;
export const routeFilterRulePrefix = rfRule.prefix;
export const routeFilterRulePrefixMatch = rfRule.prefixMatch;
```
```python
import pulumi

pulumi.export("routeFilterRuleId", rf_rule["id"])
pulumi.export("routeFilterId", rf_rule["routeFilterId"])
pulumi.export("routeFilterRulePrefix", rf_rule["prefix"])
pulumi.export("routeFilterRulePrefixMatch", rf_rule["prefixMatch"])
```
```go
package main

import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ctx.Export("routeFilterRuleId", rfRule.Id)
ctx.Export("routeFilterId", rfRule.RouteFilterId)
ctx.Export("routeFilterRulePrefix", rfRule.Prefix)
ctx.Export("routeFilterRulePrefixMatch", rfRule.PrefixMatch)
return nil
})
}
```
```csharp
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() =>
{
return new Dictionary<string, object?>
{
["routeFilterRuleId"] = rfRule.Id,
["routeFilterId"] = rfRule.RouteFilterId,
["routeFilterRulePrefix"] = rfRule.Prefix,
["routeFilterRulePrefixMatch"] = rfRule.PrefixMatch,
};
});
```
```java
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}

public static void stack(Context ctx) {
ctx.export("routeFilterRuleId", rfRule.id());
ctx.export("routeFilterId", rfRule.routeFilterId());
ctx.export("routeFilterRulePrefix", rfRule.prefix());
ctx.export("routeFilterRulePrefixMatch", rfRule.prefixMatch());
}
}
```
```yaml
resources:
rfRule:
type: equinix:fabricRouteFilterRule
name: rf_rule
properties:
routeFilterId: <route_filter_policy_id>
name: Route Filter Rule Name
prefix: 192.168.0.0/24
prefixMatch: exact
description: Route Filter Rule for X Purpose
outputs:
routeFilterRuleId: ${rfRule.id}
routeFilterId: ${rfRule.routeFilterId}
routeFilterRulePrefix: ${rfRule.prefix}
routeFilterRulePrefixMatch: ${rfRule.prefixMatch}
```
{{% /example %}}
Loading
Loading